Re: rsync sort list

2007-02-04 Thread Wayne Davison
On Sun, Feb 04, 2007 at 06:47:57PM +0200, catam wrote: > shouldnt dir a came before a-c ? Directories have an assumed trailing slash on the end of their name for the purposes of sorting, which is why a-c/ comes before a/. The reason for this is that older versions of rsync used to sort files from

rsync sort list

2007-02-04 Thread catam
Hi While I was working on a script that uses rsync file list found this: (which I guess is due adding / for dirs in f_name_cmp) ==2 dirs: # mkdir a a-c # rsync -a . drwxr-xr-x 96 2007/02/04 18:20:35 . drwxr-xr-x 48 2007/02/04 18:20:35 a-c drwxr-xr-x 48 2007/02/04 18:20