Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support empty XDG_CACHE_HOME environmental variable | Luca Matei Pintilie | 2023-09-18 | 1 | -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-18 | 1 | -3/+8 |
| | |||||
* | Reword error message | Thomas Voss | 2023-09-18 | 1 | -1/+1 |
| | |||||
* | Add default cache path if XDG_CACHE_HOME does not exist | Luca Matei Pintilie | 2023-09-18 | 1 | -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.1 | Thomas Voss | 2023-09-15 | 1 | -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 date | Thomas Voss | 2023-09-15 | 1 | -1/+1 |
| | |||||
* | Put sentences on their own lines | Thomas Voss | 2023-09-15 | 1 | -5/+9 |
| | |||||
* | Remove useless escape characters | Thomas Voss | 2023-09-15 | 1 | -8/+8 |
| | |||||
* | Add MMV_NAME and MCP_NAME compile-time variablesv1.3.0 | Luca Matei Pintilie | 2023-09-14 | 3 | -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.0 | Thomas Voss | 2023-08-25 | 1 | -1/+1 |
| | |||||
* | Update the README | Thomas Voss | 2023-08-25 | 1 | -9/+9 |
| | |||||
* | Install ‘mmv’ as ‘mcp’ | Thomas Voss | 2023-08-25 | 1 | -2/+5 |
| | |||||
* | Update manual to document ‘mcp’ | Thomas Voss | 2023-08-25 | 1 | -12/+28 |
| | |||||
* | Add support for copying files | Thomas Voss | 2023-08-25 | 1 | -8/+38 |
| | |||||
* | Document timestamps for backup dirnamev1.1.0 | Thomas Voss | 2023-08-15 | 1 | -2/+2 |
| | |||||
* | Use nanosecs for backup dirname | Thomas Voss | 2023-08-15 | 1 | -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 epoch | Thomas Voss | 2023-08-15 | 1 | -2/+5 |
| | |||||
* | Reword sentence | Thomas Voss | 2023-08-15 | 1 | -2/+2 |
| | |||||
* | Fix typo in README | Thomas Voss | 2023-08-14 | 1 | -1/+1 |
| | |||||
* | We can terminate with EOF when using -iv1.0.1 | Thomas Voss | 2023-08-12 | 3 | -11/+2 |
| | |||||
* | Bump version to v1.0.0v1.0.0 | Thomas Voss | 2023-08-12 | 2 | -2/+2 |
| | |||||
* | Add a README | Thomas Voss | 2023-08-12 | 1 | -0/+39 |
| | |||||
* | Add a Makefile | Thomas Voss | 2023-08-12 | 1 | -0/+15 |
| | |||||
* | Add a project license | Thomas Voss | 2023-08-12 | 1 | -0/+14 |
| | |||||
* | Update description to match manual | Thomas Voss | 2023-08-12 | 1 | -1/+1 |
| | |||||
* | Change repository to sourcehut | Thomas Voss | 2023-08-12 | 1 | -1/+1 |
| | |||||
* | Put authors on one line | Thomas Voss | 2023-08-12 | 1 | -3/+1 |
| | |||||
* | Add a manual page | Thomas Voss | 2023-08-12 | 1 | -0/+178 |
| | |||||
* | Print to stderr with -d | Thomas Voss | 2023-08-12 | 1 | -1/+1 |
| | |||||
* | Run ‘cargo fmt’ | Thomas Voss | 2023-08-12 | 1 | -5/+20 |
| | |||||
* | When using -e, swap back to newlines from nul | Thomas Voss | 2023-08-12 | 1 | -5/+5 |
| | |||||
* | Change --dryrun to --dry-run | Thomas Voss | 2023-08-12 | 1 | -1/+1 |
| | |||||
* | Make -v 500x better | Thomas Voss | 2023-08-12 | 1 | -11/+34 |
| | |||||
* | Swap flags.nobackup for flags.backup | Thomas Voss | 2023-08-12 | 1 | -5/+17 |
| | |||||
* | Remove the cache directory after successful operation | Thomas Voss | 2023-08-12 | 1 | -2/+7 |
| | |||||
* | Add the -n option | Thomas Voss | 2023-08-12 | 1 | -11/+15 |
| | |||||
* | Backup the files being renamed | Thomas Voss | 2023-08-12 | 1 | -0/+31 |
| | |||||
* | Update cerm to v1.1.1 | Thomas Voss | 2023-08-12 | 3 | -29/+11 |
| | |||||
* | Add a helper ‘disp()’ function | Thomas Voss | 2023-08-07 | 1 | -3/+7 |
| | |||||
* | Take greater advantage of itertools | Thomas Voss | 2023-08-07 | 1 | -6/+8 |
| | |||||
* | Add an ‘is_terminal’ predicate | Thomas Voss | 2023-08-07 | 1 | -2/+6 |
| | |||||
* | Use block comments like a C-chad | Thomas Voss | 2023-08-06 | 1 | -3/+3 |
| | |||||
* | Fix comment formatting | Thomas Voss | 2023-08-06 | 1 | -1/+1 |
| | |||||
* | Get -0 and -i to play nice with each other | Thomas Voss | 2023-08-06 | 1 | -31/+61 |
| | |||||
* | Fix retarded rustfmt shit | Thomas Voss | 2023-08-06 | 1 | -2/+2 |
| | |||||
* | Implement the -i flag | Thomas Voss | 2023-08-06 | 1 | -48/+112 |
| | |||||
* | Add missing flag to usage string | Thomas Voss | 2023-08-06 | 1 | -1/+1 |
| | |||||
* | Move args parsing to Flags::parse | Thomas Voss | 2023-08-06 | 1 | -25/+28 |
| | |||||
* | Improve the -d flag | Thomas Voss | 2023-08-06 | 1 | -9/+12 |
| | | | | | | | Now when performing a dry run, you are shown the direct move from src to dst. This is a lot more helpful since the end user doesn’t really care about whatever temporary folder we store things in; the user just wants to make sure the command he’s about to execute will do what he expects. | ||||
* | Make the -e flag work as intended | Thomas Voss | 2023-08-06 | 3 | -8/+35 |
| |