-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial release (versions prior to v3.11 have not been published)
- Loading branch information
Fonic
committed
Sep 13, 2023
0 parents
commit 005c163
Showing
4 changed files
with
838 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Changelog for v3.11 release | ||
|
||
Initial release (versions prior to v3.11 have not been published). | ||
|
||
Features: | ||
- Various editing commands (including regular expressions) | ||
- File filtering (pattern, invert, case sensitive/insensitive) | ||
- Recursive mode (to include files of subfolders) | ||
- Macro recording and replay (to reuse a set of commands) | ||
- Undo/redo of last name-altering operation | ||
- Actual renaming only occurs when when issuing `apply`/`save` | ||
|
||
## | ||
|
||
_Last updated: 09/13/23_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Interactive File Renamer (InFiRen) | ||
Interactively rename multiple files from the command line. Especially useful to organize large collections (images, videos, music, etc.). | ||
|
||
## Donations | ||
I'm striving to become a full-time developer of [Free and open-source software (FOSS)](https://en.wikipedia.org/wiki/Free_and_open-source_software). Donations help me achieve that goal and are highly appreciated. | ||
|
||
<a href="https://www.buymeacoffee.com/fonic"><img src="https://raw.githubusercontent.com/fonic/donate-buttons/main/buymeacoffee-button.png" alt="Buy Me A Coffee" height="35"></a> <a href="https://paypal.me/fonicmaxxim"><img src="https://raw.githubusercontent.com/fonic/donate-buttons/main/paypal-button.png" alt="Donate via PayPal" height="35"></a> <a href="https://ko-fi.com/fonic"><img src="https://raw.githubusercontent.com/fonic/donate-buttons/main/kofi-button.png" alt="Donate via Ko-fi" height="35"></a> | ||
|
||
## Download & Installation | ||
Refer to the [releases](https://github.com/fonic/infiren/releases) section for downloads links. There is no installation required. Simply extract the downloaded archive to a folder of your choice. | ||
|
||
## Usage | ||
To run _infiren_, use the following commands (requires _Bash >= v4.0_): | ||
``` | ||
$ cd infiren-vX.Y | ||
$ ./infiren.sh [START-FOLDER] | ||
``` | ||
|
||
Within _infiren_, use `help` to list available editing commands: | ||
``` | ||
Available commands: | ||
rs, replace-string <str> <rep> Replace string <str> with replacement <rep> | ||
re, replace-regex <re> <tmp> Match regular expression <re> and replace | ||
matching string according to template <tmp> | ||
Example: re "([0-9]+)x([0-9]+)" "S\1E\2" | ||
pr, pre, prepend <str> Prepend string <str> | ||
ap, post, append <str> Append string <str> | ||
rd, replace-dots Replace single dots with spaces | ||
id, insert-dash Insert dash after first word | ||
ca, capitalize Capitalize space-separated words | ||
up, upper, uppercase Convert all characters to uppercase | ||
lo, lower, lowercase Convert all characters to lowercase | ||
tr, trim, st, strip Trim leading & trailing whitespace | ||
sm, start-macro Start recording macro | ||
em, end-macro Stop recording macro | ||
vm, view-macro View macro contents | ||
cm, clear-macro Clear macro contents | ||
rm, replay-macro Replay commands from macro | ||
hm, history-macro Create macro from command history | ||
vh, view-history View command history | ||
ch, clear-history Clear command history | ||
sf, set-filter <pattern> Set filter to <pattern> and reload | ||
if, invert-filter Invert filter and reload | ||
cf, case-filter Toggle filter case and reload | ||
vf, view-filter View current filter state | ||
rf, reset-filter Reset filter and reload | ||
ed, edit <index> Manually edit entry with index <index> | ||
ud, undo Undo last name-altering operation | ||
rc, recursive Toggle recursive mode and reload | ||
cd, chdir <path> Change to directory <path> and reload | ||
apply, save Apply changes (i.e. rename files) | ||
reset, reload Discard changes and reload file names | ||
help, usage Display this help/usage text | ||
exit, quit Exit program (shortcut: CTRL+D) | ||
``` | ||
|
||
## Showcase | ||
|
||
![Animated GIF](https://raw.githubusercontent.com/fonic/infiren/master/SHOWCASE.gif) | ||
|
||
|
||
## | ||
|
||
_Last updated: 09/13/23_ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.