use of find
am 06.11.2007 00:16:57 von zmasood
Hi All,
I want to be able to find from a directory, all files that do NOT have
a ".gz" file extension and also are more than 1 day old.
The idea is to zip the resultant files.
Thanks in Advance
Re: use of find
am 06.11.2007 11:19:31 von Michael Tosch
zmasood@gmail.com wrote:
> Hi All,
>
> I want to be able to find from a directory, all files that do NOT have
> a ".gz" file extension and also are more than 1 day old.
>
> The idea is to zip the resultant files.
>
>
> Thanks in Advance
>
find . \! -name "*.gz" -print
or
find . -name "*.gz" -o -print
--
Michael Tosch @ hp : com