You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if rose-arch could be extended to exclude files matching a glob pattern? I have not looked into how rose-arch works, but with tar at least, you can use the --exclude option to exclude patterns. I think this would be a useful addition so you could archive a directory and just have some exclude patterns instead of being too specific about which files to include if there is a lot of options.
The text was updated successfully, but these errors were encountered:
If that's right, then we should be able to do whatever we want with this.
Sadly, there isn't any implementation of extglob in the Python standard library, but we could have a separate exclusion glob to filter by.
Possibly worth mentioning fnamematch which is a drop in replacement for Python's glob which extends the syntax a little which might be useful for fine control over inclusion/exclusion.
I was wondering if
rose-arch
could be extended to exclude files matching a glob pattern? I have not looked into howrose-arch
works, but withtar
at least, you can use the--exclude
option to exclude patterns. I think this would be a useful addition so you could archive a directory and just have some exclude patterns instead of being too specific about which files to include if there is a lot of options.The text was updated successfully, but these errors were encountered: