[Dirvish] documentation for 'exclude:' -or- *SUCCESS the hard way*
Richard Geoffrion
dirvish at rain4us.net
Fri Nov 7 18:53:36 UTC 2008
Paul Slootman wrote:
> Hence, how to construct your exclude rules is also covered by the rsync
> manual...
>
> <snip>
> Excluding a filename starting with a space might be a challenge,
> although I suspect this would work:
>
> excludes:
> [ ]rest of filename
>
>
>
OK... well I have a situation now where the source path (tree: )
contains a space. I can't get the quotes passed to the rsync command
line. So far, the following attempts to specify the path have not worked.
tree: "/home/database backups"
tree: /home/"database backups"
tree: /home/database[ ]backups
tree: /home/database[.]backups
tree: /home/database backups
tree: /home/database\ backups
tree: /home/database\\ backups
I even tried
tree: [/home/database backups]
to no avail. As soon as the dirvish scripts see that space in the path
the path gets truncated. If I modify the rsync command posted in summary
and put quotes around the source path, all is well.
--
Richard
More information about the Dirvish
mailing list