How to escape spaces in rsync source and destination paths
Matt McCutchen
matt at mattmccutchen.net
Sat Aug 23 02:34:42 GMT 2008
On Fri, 2008-08-22 at 14:56 -0400, Carney Mimms wrote:
> I still need some help, though, as the script now runs without actually
> doing anything or producing any feedback.
It looks like I forgot to take out the colon in front of the
"${COMMAND[@]}", which I had used to turn the command into a no-op for
my own testing. Oops. The last part of the script should read:
-----
# DO IT!
"${COMMAND[@]}"
echo Done.
# the end.
-----
Sorry about that.
Matt
> On 8/21/08 9:32 PM, "Matt McCutchen" <matt at mattmccutchen.net> wrote:
> > # DO IT!
> > : "${COMMAND[@]}"
> >
> > echo Done.
> >
> > # the end.
> > -----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20080822/a1460a32/attachment.bin
More information about the rsync
mailing list