I have my music library on my Synology NAS which is an ext4 file system. I copy those files to a V-FAT formatted USB thumb drive ($usbdir), and then use the thumb drive in my car.
The problem is the --delete switch does not work. If I delete a directory on my NAS, it is not deleted on the thumb drive, even though I am using the --delete modifier. I've tried variations of the command shown below. To complicate matters I'm ruing the rsync command from my iMac ruing OS X 10.11.
Is it possible to clone a ext4 directory to an MS-DOS thumb drive, and have the --delete modifier work?
rsync -va --stats --delete --modify-window=1 "$stagedir/" "$usbdir"
/rsync -uvrh --delete --modify-window=2 --stats --delete "$stagedir/" "$usbdir"
- - , .
برچسب:
نویسنده: استخدام کار