Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Need help crontab keep recent x file

Im looking solution for my rsync database backup server, because im paranoid rather than delete x day i think its safer to keep several file not getting delete.

bash script to Delete all files but keep the most recent X files in bash.

lets say 5 max file, if new file coming, the last old file get delete, so i can maintain storage.

Thanked by 1linuxthefish

Comments

Sign In or Register to comment.