The Samba-Bugzilla – Bug 8775
Preallocate option doesn't work with recursive?
Last modified: 2013-06-02 23:34:58 UTC
With rsync version 3.1.0dev protocol version 31.PR14, using the --preallocate and --recursive options:
It appears as though preallocation only happens with files in the first directory copied. In subsequent directories, rsync seems to revert to stock behavior, i.e. no preallocation.
Command line used:
rsync --links --perms --times --group --owner --devices --specials --stats --progress --verbose --preallocate --recursive --include=*/ --include=* --exclude=* /mnt/media/Music/ /mnt/medianew/Music
When I try a recursive command, it calls the preallocate command for all the files in the recursive transfer.