Re: rsync slow exclude folder

2015-02-28 Thread Francis . Montagnac
Hi On Sat, 28 Feb 2015 06:41:59 +0300 Дугин Сергей wrote: rsync -a --exclude=tmp/* /home/ /backup/home/ If the folder /home/tmp/ is many millions of files, rsync think of this folder can be seen through the lsof -p PID Or strace yes. It seems that rsync does an lstat for any file before

Re: rsync slow exclude folder

2015-02-28 Thread Paul Slootman
On Sat 28 Feb 2015, ? ?? wrote: rsync version 3.0.9 protocol version 30 rsync -a --exclude=tmp/* /home/ /backup/home/ It is necessary that the contents of the folder tmp copy, but the folder tmp in backup was created. If the folder /home/tmp/ is many millions of files,