Rysnc Schedule
Rick Romero
rick at havokmon.com
Thu Jul 19 12:51:25 GMT 2007
/usr/bin/find /var/backup/* -mtime +30 -exec rm -rf {} \;
Anything older than 30 days gets deleted from /var/backup/
On Thu, 2007-07-19 at 05:46 -0700, sparty2809 wrote:
> I guess I should have been clearer. I know how to delete files/directories.
> I am just not sure how to delete say the 31st and so forth.
>
>
>
> Chuck Wolber wrote:
> >
> > On Wed, 18 Jul 2007, sparty2809 wrote:
> >
> >> I understand how to do the rsync part, but how would I delete the files?
> >
> > In linux, you delete files with the "rm" command... In windows you'd
> > probably want to use "deltree"... Or, you could get really fancy and use
> > directed charges of thermite, although that might make it difficult to
> > re-use portions of the disk...
> >
> > ..Chuck..
> >
> >
> > --
> > http://www.quantumlinux.com
> > Quantum Linux Laboratories, LLC.
> > ACCELERATING Business with Open Technology
> >
> > "The measure of the restoration lies in the extent to which we apply
> > social values more noble than mere monetary profit." - FDR
> >
> > 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
> > --
> > To unsubscribe or change options:
> > https://lists.samba.org/mailman/listinfo/rsync
> > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Rysnc-Schedule-tf4104577.html#a11688212
> Sent from the Samba - rsync mailing list archive at Nabble.com.
>
More information about the rsync
mailing list