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:35 a

==2 dirs again:
#mkdir a a1
# rsync -a .
drwxr-xr-x          96 2007/02/04 18:20:11 .
drwxr-xr-x          48 2007/02/04 18:20:11 a
drwxr-xr-x          48 2007/02/04 18:20:11 a1


==2 files:
# touch a a-c
# rsync -a .
drwxr-xr-x          96 2007/02/04 18:21:07 .
-rw-r--r--           0 2007/02/04 18:21:07 a
-rw-r--r--           0 2007/02/04 18:21:07 a-c

==2 files again :
# touch a a1
# rsync -a .
drwxr-xr-x          96 2007/02/04 18:21:07 .
-rw-r--r--           0 2007/02/04 18:21:07 a
-rw-r--r--           0 2007/02/04 18:21:07 a1


shouldnt dir a came before a-c ?

catam
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to