[NTLUG:Discuss] Finding files

David Simmons dave at dgnal.net
Thu May 15 00:26:39 CDT 2008



make sure you also re-run with ".*"

because, I think
by default, that * really doesn't mean everything - it'll miss the DOT*
files

HTH - Dave

> If I have to return to CentOS
4.6 from 5.1 because I can't resolve
> issues I need to make sure
that I get all modified files that I want
> copied back.  Finding
all the files is proving to be a challenge.
> 
> Searching
in Konqueror for all files created or modified in the last 10
>
days gave a listing of a bunch of directories and 15 files.  Using the
> variations of find below produced approximate 100 times that many
hits
> 
> Using the following (su-ed to root and cd-ed to
/) missed (at least) two
> filenames containing spaces and
.lesskey in my home directory.
> 
> find . -daystart -type
f -mtime 10
> find . -daystart -mtime 10
> find . -name
'*' -daystart -mtime 10
> find . -name '*' -type f -daystart
-mtime 10
> 
> What do I have to do to find all files
modified in the last 10 days?
> All three files that I know were
missed were modified less than five
> days ago.
> 
> _______________________________________________
>
http://www.ntlug.org/mailman/listinfo/discuss
>


More information about the Discuss mailing list