[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 |
Hi,
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
do
find / | grep "^$(dirname "$file")" >> /var/tmp/exclude.list
done
--- 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.
Rich.
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
- [Duplicity-talk] amazon s3 speed, jb, 2010/07/04
- Re: [Duplicity-talk] amazon s3 speed, Peter Schuller, 2010/07/05
- Re: [Duplicity-talk] amazon s3 speed, Denis Klimov, 2010/07/05
- Re: [Duplicity-talk] amazon s3 speed, Peter Schuller, 2010/07/05
- Re: [Duplicity-talk] amazon s3 speed, Peter Schuller, 2010/07/05
- [Duplicity-talk] File / Directory names with spaces, Bob Smither, 2010/07/05
- Re: [Duplicity-talk] File / Directory names with spaces,
Richard Scott <=
- Re: [Duplicity-talk] File / Directory names with spaces, Peter Valdemar Mørch (Lists), 2010/07/06
- Re: [Duplicity-talk] File / Directory names with spaces, Richard Scott, 2010/07/06
- Re: [Duplicity-talk] File / Directory names with spaces, Tim Riemenschneider, 2010/07/06
- Re: [Duplicity-talk] File / Directory names with spaces, Richard Scott, 2010/07/06
- Re: [Duplicity-talk] File / Directory names with spaces, edgar . soldin, 2010/07/06
- Re: [Duplicity-talk] File / Directory names with spaces, Ed Blackman, 2010/07/06
- Re: [Duplicity-talk] File / Directory names with spaces, Richard Scott, 2010/07/07
- [Duplicity-talk] Another Newbie Question - sorry, Bob Smither, 2010/07/07
- Re: [Duplicity-talk] Another Newbie Question - sorry, Jacob Godserv, 2010/07/08
- Re: [Duplicity-talk] Another Newbie Question - sorry, Bob Smither, 2010/07/08