Question on using single quote in an include from file

Larry Hayes lhayesg at gmail.com
Thu Dec 4 23:58:05 GMT 2008


Hello,



I am using rsync 2.6.8 on a MontaVista Linux.

I have a client/server setup with an rsync daemon running on the server.

Also running over stunnel.



When trying to do an rsync pull from the client of a module on the server,
files that have a single quote in the name do not get transferred.

I have tried escaping the single quote in the include from file, but still
no luck.

I have tried several other combinations of '\'' and single and double
quoting the entire path or just the filename, with no luck.



I only get 2 of the 3 files.



Any one have any ideas?



Thanks

Larry Hayes

lhayesg at gmail.com



Here is what my module looks like in the rsync.conf:



[b8f9d7e9-835b-4334-b544-048a5278b5d4]

        path = /x/

        auth users = root

        secrets file =
/x/y/z/b8f9d7e9-835b-4334-b544-048a5278b5d4/b8f9d7e9-835b-4334-b544-048a5278b5d4.secret

        include from =
/x/y/z/b8f9d7e9-835b-4334-b544-048a5278b5d4/b8f9d7e9-835b-4334-b544-048a5278b5d4.rsync

        comment = done



My include from file:

+ y/

+ y/Family/

+ y/Family/Temp/

+ y/Shares/

+ y/z/b8f9d7e9-835b-4334-b544-048a5278b5d4/

+ y/Tn/

+ y/Tn/Family_tn/

+
y/Tn/Family_tn/Tue-Dec--2-10:22:59-2008AlbumArt_{D514CCF8-BBE3-4FC4-B89F-B8B201A09B45}_Large_170X166.jpg

*+ y/Family/Temp/CopyChristine\'.mp3*

+
y/z/b8f9d7e9-835b-4334-b544-048a5278b5d4/b8f9d7e9-835b-4334-b544-048a5278b5d4.meta

 - ***



The rsync command being issued:

/usr/bin/rsync -rptv --partial --partial-dir=.partial --timeout=60
--password-file=/tmp/10.50.2.23_b8f9d7e9-835b-4334-b544-048a5278b5d4. secret
rsync://root@localhost:902/b8f9d7e9-835b-4334-b544-048a5278b5d4
/root/rtest/test21 >>
/tmp/1228428918_b8f9d7e9-835b-4334-b544-048a5278b5d4.txt





Output:

receiving file list ... done

created directory /root/rtest/test21

./

y/

y/Family/

y/Family/Temp/

y/z/

y/z/b8f9d7e9-835b-4334-b544-048a5278b5d4/

y/z/b8f9d7e9-835b-4334-b544-048a5278b5d4/b8f9d7e9-835b-4334-b544-048a5278b5d4.meta

y/Tn/

y/Tn/Family_tn/

y/Tn/Family_tn/Tue-Dec--2-10:22:59-2008AlbumArt_{D514CCF8-BBE3-4FC4-B89F-B8B201A09B45}_Large_170X166.jpg



sent 277 bytes  received 7716 bytes  5328.67 bytes/sec

total size is 7146  speedup is 0.89
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list