Re: Date scripting

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

 



On 3/23/06, Chris Norman <cnorman@xxxxxxxxxxxxx> wrote:
> Hi people,
> I need to check files to see how old they are.

Something to play with:

find /home/sam -mtime +30 -exec rm -f {} \;
find $path -mtime +$days -type f -name \*.Z -exec rm {} \;
find $path -mtime +$days -type f -name 'Server.Log*' -exec rm {} \;

All found via google.
--
WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux