bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

extended find command


From: Witt, Arnoud
Subject: extended find command
Date: Tue, 07 Feb 2006 12:45:25 -0000

Hi All,

I made a script extending the find command. It adds

-mbefore <time_spec>
-mafter <time_spec>

tests to the find command.

So 

        findext -type f -mafter "2006-02-07 10:23" -mbefore "2006-02-07
12:34" -ls 

will show files modified after the specified time, but on or before the
other specified time.

The time_specs are the same that are accepted by the -d option of the
touch command.

Please find attached the shell script I wrote.

I think this is useful to implement in the find command itself.

Best regards,

Arnoud Witt

Attachment: findext
Description: findext


reply via email to

[Prev in Thread] Current Thread [Next in Thread]