On Nov 6, 8:09 am, Wayne <nos...@all4me.invalid> wrote:
> zmas...@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
>
> See if my "find" tutorial meets your needs:
>
> http://www.hccfl.edu/pollock/Unix/FindCmd.htm
>
> -Wayne
find . -name "*.gz" -ctime -1
-ctime option is for last file status change time. You can use -mtime
option for last modified time and -atime for the last accessed time