10.6.3 rsync to external drive always re-…
Imported from the Apple Support Forums via the Wayback Machine 🔗
I have been using this simple rsync script to backup files for a long time in linux and also cygwin under Windows. I recently migrated it to my new mac. It should only copy files from the source which are newer than the destination or have changed:
+rsync -ruvt /Users/sj/Pictures/ /Users/sj/backup/backup/files/p+
+(other similar lines for different directories removed)+
It works as described above for most files, but there are a number of files that it insists on copying every time I run the command, despite an exact copy already existing at the destination (from the previous run of the command). The weirdest thing about it is it doesn't do this for every file in the Pictures folder. They were all downloaded from the same camera at the same time, but as rsync is re-copying most of the files it will occasionally skip 2 or 3, so for example: img99, img100, img103, img104, etc. (skipped 101 and 102). In fact it should skip all of them.
I've tried tweaking the rsync switches according to the man page but set them back to my originals as they had no effect. I've tried googling this to no avail.
I should mention that the destination folder is a truecrypt mounted external drive formatted as FAT32.
Appreciate any suggestions.
7 replies
Sign in or join Beachball Help to reply.
- 0
- 0
- 0
- 0
- 0
- 0
- 0