Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I use the unix “find” command to locate my files within the .snapshot directory?

0
Posted

How can I use the unix “find” command to locate my files within the .snapshot directory?

0

A7. The home directory server does not support the “find” command inside of the .snapshot directory. Since it does support the “ls” command and it supports “find” within .snapshot’s subdirectories, you can use a shell script to combine the “find” and the “ls” command to look for your files. A working script is: #!/bin/ksh for i in `”ls”` do cd $i echo searching `pwd` find . -name filename -print cd .. done Where filename is the name of the file.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123