aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add the ‘-b’ flag to only alter path basenamesv1.4.0Thomas Voss 2023-09-242-15/+73
|
* Document the fallback backup directoryThomas Voss 2023-09-181-1/+7
|
* Support empty XDG_CACHE_HOME environmental variableLuca Matei Pintilie 2023-09-181-9/+19
| | | | | | | | | | | Follow-up from e5b6e24a621, fixes a scenario in which XDG_CACHE_HOME is set, but it's set to an empty string instead of a path. From the documentation >If $XDG_CACHE_HOME is [...] empty, a default equal to $HOME/.cache should be used. https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
* Run ‘cargo fmt’Thomas Voss 2023-09-181-3/+8
|
* Reword error messageThomas Voss 2023-09-181-1/+1
|
* Add default cache path if XDG_CACHE_HOME does not existLuca Matei Pintilie 2023-09-181-4/+12
| | | | | | | | | | | If the XDG_CACHE_HOME environmental variable does not exist then mmv will default to "$HOME/.cache"[1] If HOME does not exist then it will panic like before [1]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
* Properly escape single quotesv1.3.1Thomas Voss 2023-09-151-5/+5
| | | | | On some systems, single quotes that aren’t entered as ‘\(aq’ will always be turned into smart-quotes which is terrible for code examples.
* Bump manual dateThomas Voss 2023-09-151-1/+1
|
* Put sentences on their own linesThomas Voss 2023-09-151-5/+9
|
* Remove useless escape charactersThomas Voss 2023-09-151-8/+8
|
* Add MMV_NAME and MCP_NAME compile-time variablesv1.3.0Luca Matei Pintilie 2023-09-143-7/+38
| | | | | | | | | | | | | | | Due to the sheer popularity of the "mmv" name it might conflict with other programs installed on the user's computer. As such the MMV_NAME and MCP_NAME environmental variables can control the program's name at compile time, allowing the user to avoid name conflicts with other programs. If the variables are not set then they will silently default back to "mmv" and "mcp" respectively. Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com> Co-authored-by: Thomas Voss <mail@thomasvoss.com>
* Use -f with ln in the Makefilev1.2.0Thomas Voss 2023-08-251-1/+1
|
* Update the READMEThomas Voss 2023-08-251-9/+9
|
* Install ‘mmv’ as ‘mcp’Thomas Voss 2023-08-251-2/+5
|
* Update manual to document ‘mcp’Thomas Voss 2023-08-251-12/+28
|
* Add support for copying filesThomas Voss 2023-08-251-8/+38
|
* Document timestamps for backup dirnamev1.1.0Thomas Voss 2023-08-151-2/+2
|
* Use nanosecs for backup dirnameThomas Voss 2023-08-151-1/+1
| | | | | | The user doesn’t need this level of precision, but using seconds might cause problems if two processes are spawned in quick succession to each other. Since we have the options, why not use the most precise one?
* Name backup directories after current epochThomas Voss 2023-08-151-2/+5
|
* Reword sentenceThomas Voss 2023-08-151-2/+2
|
* Fix typo in READMEThomas Voss 2023-08-141-1/+1
|
* We can terminate with EOF when using -iv1.0.1Thomas Voss 2023-08-123-11/+2
|
* Bump version to v1.0.0v1.0.0Thomas Voss 2023-08-122-2/+2
|
* Add a READMEThomas Voss 2023-08-121-0/+39
|
* Add a MakefileThomas Voss 2023-08-121-0/+15
|
* Add a project licenseThomas Voss 2023-08-121-0/+14
|
* Update description to match manualThomas Voss 2023-08-121-1/+1
|
* Change repository to sourcehutThomas Voss 2023-08-121-1/+1
|
* Put authors on one lineThomas Voss 2023-08-121-3/+1
|
* Add a manual pageThomas Voss 2023-08-121-0/+178
|
* Print to stderr with -dThomas Voss 2023-08-121-1/+1
|
* Run ‘cargo fmt’Thomas Voss 2023-08-121-5/+20
|
* When using -e, swap back to newlines from nulThomas Voss 2023-08-121-5/+5
|
* Change --dryrun to --dry-runThomas Voss 2023-08-121-1/+1
|
* Make -v 500x betterThomas Voss 2023-08-121-11/+34
|
* Swap flags.nobackup for flags.backupThomas Voss 2023-08-121-5/+17
|
* Remove the cache directory after successful operationThomas Voss 2023-08-121-2/+7
|
* Add the -n optionThomas Voss 2023-08-121-11/+15
|
* Backup the files being renamedThomas Voss 2023-08-121-0/+31
|
* Update cerm to v1.1.1Thomas Voss 2023-08-123-29/+11
|
* Add a helper ‘disp()’ functionThomas Voss 2023-08-071-3/+7
|
* Take greater advantage of itertoolsThomas Voss 2023-08-071-6/+8
|
* Add an ‘is_terminal’ predicateThomas Voss 2023-08-071-2/+6
|
* Use block comments like a C-chadThomas Voss 2023-08-061-3/+3
|
* Fix comment formattingThomas Voss 2023-08-061-1/+1
|
* Get -0 and -i to play nice with each otherThomas Voss 2023-08-061-31/+61
|
* Fix retarded rustfmt shitThomas Voss 2023-08-061-2/+2
|
* Implement the -i flagThomas Voss 2023-08-061-48/+112
|
* Add missing flag to usage stringThomas Voss 2023-08-061-1/+1
|
* Move args parsing to Flags::parseThomas Voss 2023-08-061-25/+28
|