Re: Delay for --remove-source-files

2009-10-15 Thread Martin Scharrer
Matt McCutchen-7 wrote: On Tue, 2009-10-13 at 03:51 -0700, Martin Scharrer wrote: I'm using rsync with -aP --remove-source-files to move files from one machine to another while watching the progress. I'm under the impression that rsync is deleting the transmitted source files on-the-fly

Re: retrieve files without local dir compare

2009-10-15 Thread Martin Scharrer
I agree with the ideas below and like to add the following: Under Linux/Unix hard links could be used to copy the files on the receiving side. This works around the deleting problem and is way more efficient to actually copying and deleting the files. I.e.: rsync to folder 'A', then hardlink the

Delay for --remove-source-files

2009-10-13 Thread Martin Scharrer
Hi, I'm using rsync with -aP --remove-source-files to move files from one machine to another while watching the progress. I'm under the impression that rsync is deleting the transmitted source files on-the-fly, not at the very end, but with a delay of 2-3 files, i.e. if 10 files are moved the

Re: gnu --target-dir, how to fake with rsync?

2009-10-12 Thread Martin Scharrer
Matt McCutchen-7 wrote: On Wed, 2009-10-07 at 04:40 -0700, Martin Scharrer wrote: I agree with both above points. However, I would also vote for adding such an option to rsync. This should not be to difficult and would come in handy. I'm not convinced of the need for a --target-dir

Re: gnu --target-dir, how to fake with rsync?

2009-10-07 Thread Martin Scharrer
Matt McCutchen-7 wrote: On Mon, 2009-10-05 at 12:47 -0400, Sanjeev Sharma wrote: Is this in rsync and I just can't find it, or if not, is there a way to fake this OR, third possibility, is anyone working to add it? The obvious approach is to use a wrapper script that moves its first

inplace (and append) support for partial-dir

2009-10-05 Thread Martin Scharrer
Hi, I frequently rsync larger files from my rented server to my PC. Sometimes I have to stop the rsync process and restart it a while after (e.g. I'm shutting down my PC for the night, ...), sometimes several times per source file. I like the two following features: (1) The unfinished files

Exclude some source files from being deleted when --remove-source-files is used

2009-01-28 Thread Martin Scharrer
Hi, I'm using rsync to transfer some files from host A to B and using --remove-source-files to remove them from A after the transfer. Now however I have one file 'md5sum' which should be transfered but not removed. I tried the protect filter rule but this seems not to work in this case. All

Feature request: rsync of device content

2005-06-11 Thread Martin Scharrer
rsync and about handling device files in C. I don't have much knowledge about either of this two, but maybe it is just a short thing for someone with more knowledge in this. Best regards, Martin Scharrer -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before

Re: [rsync-announce] Rsync 2.6.4 released

2005-04-06 Thread Martin Scharrer
Please open a new thread for your questions. See also below. On Thursday 31 March 2005 10:44, Molumuri, Janardhan wrote: When using --cvs-exclude option rsync is unable to sync *.exe files. Its throwing the following error. [sender] excluding file Update.exe because of pattern *.exe

Re: Restricting rsync over ssh

2004-12-28 Thread Martin Scharrer
On Tuesday 28 December 2004 17:12, Dmitry V. Levin wrote: I was thinking to the folowing solution, but i don't know if it is secure enough : Create a dummy-shell sor ssh login that only allow the rsync --server --sender command. Then i get the path of the wanted files, and i appened it

Re: how to exclude hidden files/directories

2004-12-03 Thread Martin Scharrer
Hi, On Thursday 02 December 2004 22:24, Hong Zhu wrote: Hi all, I'm rsync'ing all directories tree plus *.html and .htaccess files but excluding everything else. Although *.html files are indeed the only files get transferred, hidden files and directories like .abc also get transferred...

rsync transfers whole content when a new hardlink is created

2004-12-01 Thread Martin Scharrer
if the first hardlink in alphabetic order isn't existing on the remote filesystem, but detect the relationship when it is processing the next hardlink. best Martin Scharrer -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org