Hello All - I'm looking for a switch(es) to ensure rsync indexes the pull of files from remotedir, LIFO (last in first out) and then by .ext type where file basenames are similar. example) file_a.xml ctime of 09:01:07 file_a.jar ctime of 09:01:02 get transfered before file_b.xml ctime of 09:01:45 file_b.jar ctime of 09:01:45 and the .xml of basename $file would always be transferred first. I'm unsure if this is in the detailed docs on the algorithm, but RTFM method was not working for me and I couldn't find anything in the man pages other than preservation of the modified times of the remote directory. Thanks in Advance. Mel
Hi may be you can run two passes of rsync, one transferring *xml, the other one *jar? Carlos Pantelides>Hello All - > >I'm looking for a switch(es) to ensure rsync indexes the pull of files from >remotedir, LIFO (last in first out) and then by .ext type where file >basenames are similar. > >example) > >file_a.xml ctime of 09:01:07 >file_a.jar ctime of 09:01:02 > >get transfered before > >file_b.xml ctime of 09:01:45 >file_b.jar ctime of 09:01:45 > >and the .xml of basename $file would always be transferred first. > > >I'm unsure if this is in the detailed docs on the algorithm, but RTFM >method was not working for me and I couldn't find anything in the man pages >other than preservation of the modified times of the remote directory. > >Thanks in Advance. >_________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
On Wed, May 25, 2005 at 02:02:38PM -0700, Melanie Pai wrote:> I'm looking for a switch(es) to ensure rsync indexes the pull of files > from remotedir, LIFO (last in first out) and then by .ext type where > file basenames are similar.There is no support for changing the order that rsync transfers the files within a single transfer. See the atomic-rsync script that comes with rsync (in the "support" dir) for one way to make all the updates happen at the same moment: http://rsync.samba.org/ftp/unpacked/rsync/support/atomic-rsync See also the --delay-updates option introduced in version 2.6.4 for a way to make the updates happen rapidly at the end of the transfer (but not as atomically as the atomic-rsync script implements). ..wayne..