Unix administration - Re: Using FIND command to locate files by 'mtime' - Directories

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > March 2004 > Re: Using FIND command to locate files by 'mtime' - Directories





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Using FIND command to locate files by 'mtime' - Directories
those who know me have no need of my name

2004-03-23, 4:34 am

in comp.unix.admin i read:

>How do you recursively descend thru directories and list ONLY files less
>than X no. of days ?? My search is picking up files that don't meet the
>qualifier:


probably you are seeing the content of directories, instead of the
directory itself.

> find . -depth -mtime -1 -print|xargs -I {} ls -l {}


find . -depth -mtime -1 -print | xargs ls -ld

--
a signature
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com