bash - How to delete 7 days old backup files from s3 keeping only one file? -
i taking , uploading mongodb backup on s3 every 2 hours cron.
17 */2 * * *
now want keep files of last 7 days, , want delete files s3 after 7 days want keep 1 backup 1 day.
i using s3cmd.
how can that?
Comments
Post a Comment