Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Decrease number of heap allocations, and more | The Depressed Milkman | 2022-11-16 | 3 | -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.0 | Thomas Voss | 2022-11-05 | 1 | -1/+15 |
| | |||||
* | Try to support -e | Thomas Voss | 2022-11-05 | 1 | -12/+23 |
| | |||||
* | Begin work on v2.0.0 | Thomas Voss | 2022-11-05 | 6 | -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 pls | Thomas Voss | 2022-11-04 | 1 | -2/+2 |
| | |||||
* | Add a “safety” section | Thomas Voss | 2022-11-04 | 1 | -0/+18 |
| | |||||
* | Add a README | Thomas Voss | 2022-11-04 | 1 | -0/+68 |
| | |||||
* | Document mmv(1) in a manual page | Thomas Voss | 2022-11-04 | 1 | -0/+99 |
| | |||||
* | Filter out blank lines | Thomas Voss | 2022-11-04 | 1 | -0/+4 |
| | |||||
* | Require atleast one parameter to be provided | Thomas Voss | 2022-11-04 | 2 | -0/+6 |
| | |||||
* | Add a Makefile for easy installation | Thomas Voss | 2022-11-04 | 1 | -0/+16 |
| | |||||
* | Actually make use of the temporary directory | Thomas Voss | 2022-11-04 | 1 | -2/+2 |
| | |||||
* | Create a working implementation | Thomas Voss | 2022-11-04 | 3 | -22/+50 |
| | |||||
* | Remove one indent level | Thomas Voss | 2022-11-04 | 1 | -5/+4 |
| | |||||
* | Initial commit | Thomas Voss | 2022-11-04 | 8 | -0/+343 |