rsync -aczuv --rsh=ssh /var/www/html/ [EMAIL PROTECTED]:/data/web/$USER/html --exclude='**usage/' --exclude='**phpMyAdmin/' --exclude='**thumbnails/' --exclude='**mrtg/' --exclude='**icon' --exclude='template.htm' --delete [EMAIL PROTECTED]'s password: building file list ... done failed to set permissions on . : Operation not permitted mr/ mr/index.htm perl.htm failed to set permissions on . : Operation not permitted wrote 7426 bytes read 238 bytes 1021.87 bytes/sec total size is 4728911 speedup is 617.03 rsync error: some files could not be transferred (code 23) at main.c(620)
It would be MUCH better if the warning would indicate where the error was LOCAL or REMOTE and WHICH specific thing it had problems with. "." is VERY ambigious in this case since we're dealing with multiple directories both local and remote. Otherwise, everything gets uploaded properly contrary to the error message at the end. rsync version 2.5.6 protocol version 26 [snip] Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, no IPv6, 64-bit system inums, 64-bit internal inums -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html