[Dirvish] Question only backup some files

Paul Slootman paul at debian.org
Thu Jul 5 13:43:43 UTC 2007


On Thu 05 Jul 2007, aerobicmann at nexgo.de wrote:
> 
> hmmm...ok it seems i have to explain more...
> my wish is only to backup Folders with name (profile) and only files with
> *.pst.....
> If i understand exclude correct i must every file that i want not have in
> Backup list there.

No, with rsync exclude / include patterns you can include *.pst and
exclude the rest, for example...:

exclude:
    + profile/
    + *.pst
    - *

(not tested!)

> I think include is the right option, rsync only can do this - but can it done
> by dirvish?

The exclude patterns are passed directly to rsync; rsync does all the
hard work, dirvish is really only a sort wrapper to rsync.


Paul Slootman


More information about the Dirvish mailing list