Displaying 2 results from an estimated 2 matches for "tag_04_11".
2009 Oct 11
2
empty quotes for rsync parameter
Why does inserting an empty quote ("") into a rsync command cause the current directory to be backed up?
Not sure if this is a UNIX-syntax question or rsync-syntax question.
Code:
#!/bin/sh
echo "\nspace between quotes has no effect; only music is backed up:"
rsync -ilrtn " " /home/wolf/music /backups/backup1
echo "\nempty quotes backs up current directory
2008 Nov 15
2
[PATCH] Don't strip two leading slashes from paths.
...downloads" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors)
(code 23) at
/home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/main.c(1506)
[receiver=3.0.4]
]]]
http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap04.html#tag_04_11
mentions that "[a] pathname that begins with two successive slashes may
be interpreted in an implementation-defined manner, although more than
two leading slashes shall be treated as a single slash."
The attached patch prevents two leading slashes from being converted to
one and work...