View list of files before overwrite?

Amadeus R. jav9d2p02 at sneakemail.com
Fri Mar 25 20:10:15 GMT 2005


Hi,

I use rsync to back up my local disk to another local disk, and I do it by:

rsync -avRxn --delete /home/amd /mnt/backuphome |less
rsync -avRx  --delete /home/amd /mnt/backuphome

by using -n and |less can I review the files that are going to deleted 
and copied/overwritten.


Does anyone if rsync can differ between files that are going to copied 
and files that are going to be overwritten?

Or can rsync perhaps mark files that are going to be overwritten as to 
be deleted?

Regards,
Amadeus





More information about the rsync mailing list