[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] File / Directory names with spaces

From: Richard Scott
Subject: Re: [Duplicity-talk] File / Directory names with spaces
Date: Tue, 06 Jul 2010 10:21:54 +0100
User-agent: RoundCube Webmail/0.3.1


I'm not sure if this will help you, but I've had to make a creative bash
script to help exclude some dirs that have spacecs in them so it may help:

--- code start ---
find / -type f -name .duplicity-ignore -print0 | while read -d $'\0' file
  find / | grep "^$(dirname "$file")" >> /var/tmp/exclude.list
--- code end ---

It searches my system for dirs with a ".duplicity-ignore" file in it, and
adds it to /var/tmp/exclude.list

I then get duplicity to use this with the " --exclude-filelist
/var/tmp/exclude.list" option.


On Mon, 05 Jul 2010 20:10:55 -0500, Bob Smither <address@hidden> wrote:
> Hi List,
> Is there an preferred way to use directory / file names with spaces in
> them (other that just don't use them :-)?  I have a
> directory /shared/Robo Calls (/shared/Robo\ Calls).  The directory does
> exist.  I have tried several variations on quoting and escaping the
> space in both the source and remote locations in the duplicity command
> line with no luck.
> Thanks.
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]