I use rsync to do backups of files and folders:
rsync -avqz --stats --delete /media/server/ /media/Server2/
This deletes files which are not present on source and makes sure that the destination is an exact copy of source
But my boss wants that I should delete files only which are not present on source and are 1 week old. Something like:
rsync -avqz --stats --delete(1 week old) /media/server/ /media/Server2/
Any ideas?