search for: logfn

Displaying 1 result from an estimated 1 matches for "logfn".

Did you mean: logfp
2009 Mar 02
1
rsync ignores --force and will not delete non-empty directories from destination (HFS+ -> FAT32)
...ynced is MP3 music files and JPGs. The command I am issuing within my script is: rsync -ruxi "$sourcedir" "$destdir" \ --size-only --force --log-file="$synclog" --stats --delete --modify-window=2 --out-format="%i %n%L (%b)" $* >>"$logfn" 2>&1 The issue is that the sync works almost as expected, but fails to delete non-empty directories at the destination that no longer exist at the source. Running rsync with -n (dry-run) shows that extraneous directories will be deleted, but when I omit -n, only the empty director...