Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command Find

Status
Not open for further replies.

loloman

Technical User
Oct 30, 2002
16
0
0
FR
Hello,
I want to find in my directory files and deplace it in other directory but I not find files where are in my directory of my directory :
find /test -type f -mtime +10 -exec mv '{}' /appl2/arch ';'
the directory test have a directory test1 with files
and my command move all files
what can i do ?
 
In the find man page pay attention to the -prune primary.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top