Open candera opened 13 years ago
Actually, even if I support globbing and not regexes, hobocopy still needs to rev the major version number.
Another vote for this here: http://groups.google.com/group/hobocopy/browse_thread/thread/d617b46c23ede0bc
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
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.