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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

non recursive find search

Status
Not open for further replies.

blacklow

ISP
May 19, 2007
34
0
0
IL
hey..

I'm aiming to find in my volume only FOLDERS that have been modified in the last 14 days (using "find" and "-mtime").
also if my path is /mypath/folders_to_check/ , I want find to look only in that path and not go recursive . .
my main goal is to find the folders as fast as possible without going over sub-folders .

is it doable ?

 
In your find manual pages command have a look at -type and -maxdepth.

hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top