The union of all files from all check-ins in the top-level directory
Rename files with regular expressions.
This application aims to solve the problem that renaming files with regular expressions sucks dicks in hell.
The current approach to the problem:
ls * | sed -E 's/(.*)text(.*)to(.*)remove(.*)/mv & "$1$2$3$4"/' | sh
If you think this is handy, please seek help.
remv approach to the problem:
remv "(.*)text(.*)to(.*)remove(.*)" "$1$2$3$4"
How to compile:
remv from the Fossil repository or on whichever mirror you read this.
clang for your OS (we need C++17), then:
Or, on Windows:
How to use it:
USAGE: remv [COMMANDS] remv [OPTIONS] <regex> <replacement> [<startpath>] OPTIONS (any combination): -r Recurse into subdirectories. -E Skip file extensions while renaming. -d Also rename directories on the way. -s Sets the start directory to the last parameter; else, remv will start in '.'. -v Verbose logging. -vv Very verbose logging. -n Dry run - don't modify anything just yet. COMMANDS: -V Display the remv version and exit. -h Display this help screen and exit.