[NTLUG:Discuss] Finding files
Robert Citek
robert.citek at gmail.com
Thu May 15 01:18:38 CDT 2008
On Thu, May 15, 2008 at 12:22 AM, Leroy Tennison
<leroy_tennison at prodigy.net> wrote:
> 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.
Close. Prefix the 10 with a dash (-10), meaning less than 10 days:
$ sudo find / -daystart -type f -mtime -10
'man find' and search for TESTS.
Regards,
- Robert
More information about the Discuss
mailing list