[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] Excluding file patterns, regardless of the file loc
From: |
Kenneth Loafman |
Subject: |
Re: [Duplicity-talk] Excluding file patterns, regardless of the file location |
Date: |
Tue, 17 Aug 2010 11:32:10 -0500 |
User-agent: |
Thunderbird 2.0.0.24 (X11/20100411) |
Madhusudan Singh wrote:
> Here is the problem:
>
> I currently use rsync to backup my files to a local ssh server. The
> issue is that rsync does not encrypt, compress and backup, and I am
> considering moving to duplicity as my tool of choice. I am using this on
> Mac OSX and I already use duplicity (without the exclude spec) for my
> Amazon S3 backups. They work, so duplicity is functional on my platform.
> Hence, what follows is not a result of any OS-application snarls.
>
> I tried to whip up a script to do this.
>
> I am getting stuck at a specific requirement that I have (this uses
> --exclude-globbing-filelist option). I want to exclude ALL ps, bmp,
> tiff, avi, etc. files no matter where they are located.
>
> So, I created an exclude file:
>
> - *.avi
> - *.ps
> - .*.bmp
> - *.mbox
> ...
You need to use the format '**/*.avi' and it should work.
...Thanks,
...Ken
signature.asc
Description: OpenPGP digital signature