Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with brackets in filename #36

Closed
GoogleCodeExporter opened this issue Aug 3, 2015 · 2 comments
Closed

Problem with brackets in filename #36

GoogleCodeExporter opened this issue Aug 3, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Tryin' to sync a directory with brackets in filename, there's an error managing 
the filename.

Thu Nov 25 16:32:19 2010: rsyncing /myhome/sync/ --> user@host:/space/sync/
Thu Nov 25 16:32:25 2010: rsyncing /myhome/sync/Music/ --> 
user@host:/space/sync/Music/
Thu Nov 25 16:35:29 2010: rsyncing /myhome/sync/Music/album (year)/ --> 
user@host:/space/sync/Music/album (year)/ 
bash: -c: line 0: syntax error near unexpected token `('
bash: -c: line 0: `rsync --server -ldte.Lsf --no-r --delete . 
/space/sync/Music/album (year)/'
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(601) 
[sender=3.0.7]
Thu Nov 25 16:35:35 2010: Forked binary process returned non-zero return code: 
12
Thu Nov 25 16:35:35 2010: ERROR: Rsync from /myhome/sync/Music/album (year)/ to 
user@host:/space/sync/Music/album (year)/ failed

Debian package currently on the testing branch, Version: 1.34-1

Original issue reported on code.google.com by darkp...@gmail.com on 25 Nov 2010 at 4:34

@GoogleCodeExporter
Copy link
Author

add "s" to your rsync options, using the config file. or change the source 

----
/**
 * Standard default options to call the binary with.
 */ 
struct call_option standard_callopts[] = {
    { CO_TEXT,    "-lt%r"    },
    { CO_TEXT,    "--delete" },
---- to ----
/**
 * Standard default options to call the binary with.
 */ 
struct call_option standard_callopts[] = {
    { CO_TEXT,    "-lts%r"    },
    { CO_TEXT,    "--delete" },
----

This was fixed in version 1.38

Original comment by axk...@gmail.com on 25 Nov 2010 at 5:35

@GoogleCodeExporter
Copy link
Author

Original comment by axk...@gmail.com on 27 Nov 2010 at 1:21

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant