[PLUG] Rsync command fail

Tomas Kuchta tomas.kuchta.lists at gmail.com
Thu Nov 30 07:50:41 UTC 2017


I am not sure how you got to the backwards behavior, perhaps you have no
deleted what you thought you deleted.

I would run your rsync command this way though (adjust your options as
needed), mind the /
rsync -a --progress .... /media/jjj/Movies /media/jjj/Synology/

Hope it helps, Tomas

On Nov 29, 2017 11:04 PM, "John Jason Jordan" <johnxj at gmx.com> wrote:

I have an external USB drive that I back up to a Synology NAS drive
with the command:

rsync -rptog --progress --stats --delete
--exclude-from=/media/jjj/Movies/rsync_exclusions /media/jjj/Movies/
/media/jjj/Synology

The object is to make the Synology a mirror of the USB drive
(/media/jjj/Movies).

I deleted a folder on the USB drive, ran the command, and the folder
was replaced on the USB drive. This is backwards. What am I doing wrong?
_______________________________________________
PLUG mailing list
PLUG at pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug



More information about the PLUG mailing list