candera / hobocopy

An open source backup tool for Windows
http://candera.github.com/hobocopy/
MIT License
176 stars 52 forks source link

Support some form of /ignorepattern #26

Open candera opened 13 years ago

candera commented 13 years ago

Because I think regexes are a bad fit for the command line, I removed the /ignorepattern switch. Unfortunately, this is a breaking change, since at least one person is using it. I need to add something back in to support at least globbing, if not regexes, or else release hobocopy as 2.0.

candera commented 13 years ago

Actually, even if I support globbing and not regexes, hobocopy still needs to rev the major version number.

candera commented 12 years ago

Another vote for this here: http://groups.google.com/group/hobocopy/browse_thread/thread/d617b46c23ede0bc

candera commented 12 years ago

Comment from the mailing list:

2) While any exclusion capability is better than none, I feel exclusion at the directory level is needed. How else to exclude System Volume Information and all the files in the Temp directory?  I agree that regexp seems excessive for HoboCopy.  For a happy medium, here is a suggested list, ordered by increasing capability (i.e. more work on your part).

(your suggestion)  Exclusion by full path/filename    DirA\Dir2\FilenameX.typ    DirA\Dir2\FilenameZ.typ

(my request)  Exclusion by partial path    DirA\Dir2

 Exclusion by substring match    Dir2      -or-    Dir2\Filena

 Inclusion as above

 Exclusion & Inclusion as above    with position in command line determining      override of previous selections         -or-      order of filtering