Andrew Errington wrote:
One of the reasons for the backup MAY be to prevent the situation where
a file is deleted by accident. Consider the scenario where you
accidentally delete a file on your computer, and then the backup script
runs. Suddenly the backup gets deleted too.
Good point, I don't run the command automatically.
Andy was going to use keep for that situation. --delete makes the rsync
backup a mirror of the original as requested.
Thanks Nick, thanks Col,
Yes, --delete should do what I intend. Any deleted files will be in one of
the recent Keep files, so it's okay to delete from the mirror.
A
true...