July 24, 201312 yr Hi there, I am fighting with rsync now for some hours. The basic idea is to extract a list of pathnames of unseen movies from the XBMC mysql db and then sync these files over to an external USB drive for travel fun. The python script generating the list works fine (if there is interest, I may post it) and then it calls rsync with some parameters: rsync --progress -r --modify-window=1 --delete --delete-excluded --files-from=/tmp/tmpglpJgF --exclude='/*' /mnt/user/video/ /mnt/disk/ego500gb/ Notes: /mnt/disk/ego500gb is an extern USB drive NTFS formatted and mounted using SNAP. The temp file contains the list of movie files relative to the source path. Now the problems: -rsync overwrites existing files on the USB drive (but the whole point of using rsync is to only copy files that are not yet there to save time!) The --modify-window parameter didn't help -rsync doesn't delete files that exist in the target directory but are absent in the source file list. The --exclude parameter did not help (which I found in some forum where someone had the same problem) Anyone solved any of these problems? Thanks for caring, JC
Archived
This topic is now archived and is closed to further replies.