Hy all, I'm a new rsync user and my english may be poor. I try to sync two folders between two machines using ssh and 2.6.9 rsync version on each.
My purpose is to sync only files called "*.lic" in each subfolders. On the source machine I want to sync : /home/dps3/public/Lic/Lic /home/dps3/public/Lic/Lic2 /home/dps3/public/Lic/Lic3 to /home/dps3/public/Lic/Lic9 On each subfolders there about 50 000 files and 25 000 .licence files of 512B size (really small files) On the destination machine : /home/Lic/ is the destination folder. I want in it to be created subfolders such as : /home/Lic/Lic home/Lic/Lic2 .. .. .. /home/Lic/Lic9 with in each subfolders only .licence files from the source machine. I launch it : rsync -avvvztog -e ssh /home/dps3/public/Lic* [EMAIL PROTECTED]:/home/Lic/ --include='*/' --include='*.lic' --exclude='*' And every time i get an error such as : recv_files(Lic/file020500101.lic) recv_generator(Lic/file7250600401.lic,4419) recv_files(Lic/file020599999.lic) rsync: mkstemp "/home/Lic/Lic/.file020599999.lic.Z9L0Pw" failed: Permission denied (13) Lic/file7250600401.lic is uptodate inflate returned -3 (271 bytes) recv_generator(Lic/file7260600401.lic,4420) rsync error: error in rsync protocol data stream (code 12) at token.c(419) [receiver=2.6.9] _exit_cleanup(code=12, file=token.c, line=419): about to call exit(12) Lic/file7260600401.lic is uptodate rsync: connection unexpectedly closed (6502930 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(453) [generator=2.6.9] _exit_cleanup(code=12, file=io.c, line=453): about to call exit(12) rsync: connection unexpectedly closed (31588 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(462) [sender=2.6.9] _exit_cleanup(code=12, file=io.c, line=462): about to call exit(12) This is the last lines of verbose. I don't understand why i get "Permission Denied" error destination folders is owned by nobody:nobody Have you got an idea on how to solve my problem? Thanks a lot Regards, Jc. Accédez au courrier électronique de La Poste sur www.laposte.net ou sur 3615 LAPOSTENET (0,34 TTC /mn) 1 Giga de stockage gratuit Antispam et antivirus intégrés -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
