B2_Command_Line_Tool
B2_Command_Line_Tool copied to clipboard
Add exclude option
Please add en exclude option (--exclude) that can be used to exclude a directory or file without using regex (at least from the user's perspective). This would be most useful if several files and directories could be excluded simultaneously, for example by issuing --exclude <1st directory or file> <2nd directory or file> or by allowing multiple exclude statements, for example --exclude <1st directory or file> --exclude <2nd directory or file>. In my opinion, this would make easier to construct the commands. Thank you!
I want to second this. If a user wants to exclude a directory, then simply stating the path to that directory would seem a lot simpler than having to create a regex statement.
pull requests are welcome
I think also, it could use the rsync syntax for excluding. https://rsync.samba.org/
I found the --excludeRegex quite hard to use, as a rsync and s3 cli user.