Skip to content

Releases: jhotmann/node-rename-cli

5.0.0

21 Nov 00:52
Compare
Choose a tag to compare

Added a live UI so you can see what the rename operations will look like in real time as you type. You can also get information about each option and replacement variable as well as view the readme without leaving the UI. Simply type rename (or rname) without any arguments to access the UI.

Fixed a bug where rename would enter an infinite loop if you entered a replacement variable that doesn't exist.

Compiled an exe for Windows x64. Unfortunately due to the complexity of the new rename UI, it is not accessible from the compiled exe. I did some very basic testing with the exe but have not fully tested it. I will fix bugs if reported, but am shipping it with the warning that it's not fully tested.

4.0.1

20 Jul 23:49
Compare
Choose a tag to compare

The {{eex}} variable would contain a '/' when the exposure time is below 1 second which is not a legal character in file names, so I changed it to a '-'.

4.0.0

20 Jul 01:41
Compare
Choose a tag to compare
  • Added a wizard (-w option) to guide through the rename process.
  • Refactored code to get the operations that will be done before proceeding
    • Can now warn about conflicting file names or files that already exist
    • Can programmatically perform a rename via the wizard
  • Verbose option now confirms all rename operations before proceeding with rename
  • When force option isn't used there will be a prompt about file conflicts if they exist

3.0.0

23 Jun 17:09
Compare
Choose a tag to compare

File indexing is now handled per file extension instead of a single index for all files. So now when you are renaming multiple file types and keeping the original file extension, an independent index will be created per file extension.

For example, if you are renaming both jpg and png images to a non-unique name, you will get example1.jpg, example2.jpg, example1.png, example2.png and so forth.

2.4.0

13 Jun 23:14
Compare
Choose a tag to compare

Whitespace at beginning/end of output file name will now be trimmed unless --notrim option is used.

2.3.0

18 Apr 18:08
Compare
Choose a tag to compare

Multiple globs now supported on Windows.

Like rname *.txt *.log log.log would output

asdf.txt → log1.log
text.txt → log2.log
logfile.log → log3.log

2.2.0

18 Apr 18:03
Compare
Choose a tag to compare

RegEx Not replacement variable added. Allows for easy RegEx replace in file names, instructions added to readme.

2.1.1

13 Apr 19:32
Compare
Choose a tag to compare

Better handling of EPIPE errors when you don't put quotes around an output file name with parameters. Also snuck in a small feature to a patch release, a verbose option to print all the rename operations.

2.1.0

26 Mar 22:10
Compare
Choose a tag to compare

Added the ability to use all regex matches in the output file name via the variable {{ra}}. The matches will be separated by the character(s) provided as the argument. Previously only the first match could be used.

2.0.0

21 Mar 19:01
Compare
Choose a tag to compare
  • Rewrote variable replacement to use regex instead of looping through all variables. You can now create variables that return other variables (could create shortcuts for certain date formats for instance).
  • Variables now support parameters. Example: {{d|mm/dd/yyyy}} would output 03/21/2017.
  • Moved bulk of help text to the ReadMe. Use rename -i to quickly open the webpage when needed.