Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support some form of /ignorepattern #26

Open
candera opened this issue Mar 27, 2011 · 3 comments
Open

Support some form of /ignorepattern #26

candera opened this issue Mar 27, 2011 · 3 comments

Comments

@candera
Copy link
Owner

candera commented Mar 27, 2011

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
Copy link
Owner Author

candera commented Apr 19, 2011

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

@candera
Copy link
Owner Author

candera commented Nov 5, 2011

@candera
Copy link
Owner Author

candera commented Nov 17, 2011

Comment from the mailing list:

  1. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant