Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

Delete files using rsync only after so many days

Writer Emily Wong

Does anyone have a good way to have rsync delete files only after so many days it has been removed from the source?

Kind of like, I delete file x on day one from source, by day 30, the file is then deleted by rsync. This would be something setup when running rsync everyday through crontab.

I see there are delete options but none to delay so many days or seconds.

2 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy