aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Decrease number of heap allocations, and moreThe Depressed Milkman 2022-11-163-126/+119
| | | | | | | | | | Sent over the course of 2 diffs, no real functionality changes, but a couple general code improvements. The second email reads: > string encoding/decoding has been rewritten. The duplicate_elements() > function no longer allocates like crazy. The try_move() and do_move() > functions still need work, but have not been touched because they will > likely be rewritten shortly.
* Add notice about v1.0.0Thomas Voss 2022-11-051-1/+15
|
* Try to support -eThomas Voss 2022-11-051-12/+23
|
* Begin work on v2.0.0Thomas Voss 2022-11-056-32/+100
| | | | | | | | | | | | | | | | | | | | | | | | The original release of mmv took filenames as command line arguments, opened them in an editor, and then used the saved changes to rename files. This commit begins work on a new version of mmv where files are provided via the standard input and the command line arguments specify a process to spawn. The spawned process reads command line arguments from the standard input, processes them, and prints new names to the standard output. Those new names represent the new file names. Here are a few example usages, some more useful than others. Reverse file names: $ ls * | mmv rev Edit file names in your editor (v1.0.0 behavior): $ ls * | mmv vipe Number movies so they’re automatically sorted: $ ls movie1 movie2 ... movieN \ | mmv awk '{ printf "%02d-%s\n", NR, $0 }'
* Unicode plsThomas Voss 2022-11-041-2/+2
|
* Add a “safety” sectionThomas Voss 2022-11-041-0/+18
|
* Add a READMEThomas Voss 2022-11-041-0/+68
|
* Document mmv(1) in a manual pageThomas Voss 2022-11-041-0/+99
|
* Filter out blank linesThomas Voss 2022-11-041-0/+4
|
* Require atleast one parameter to be providedThomas Voss 2022-11-042-0/+6
|
* Add a Makefile for easy installationThomas Voss 2022-11-041-0/+16
|
* Actually make use of the temporary directoryThomas Voss 2022-11-041-2/+2
|
* Create a working implementationThomas Voss 2022-11-043-22/+50
|
* Remove one indent levelThomas Voss 2022-11-041-5/+4
|
* Initial commitThomas Voss 2022-11-048-0/+343