Table of Contents
Script that takes list of pairs of filenames and renames the files as such. The particularity of this script is that compared to a Bourne shell script, it can handle arbitrary filenames with spaces, single-quotes, double-quotes and parentheses easily. There is no quoting happening on the filenames.
The input file we are expecting is a list of lines, each representing a filename. We are expecting filenames to be ordered in input, output pairs, for example:
input-filename-1 output-filename-1 input-filename-2 output-filename-2 input-filename-3 output-filename-3 ...
Empty lines are ignored.
This may seem silly, but attempting to move weird filenames from a shell scripts has become a very annoying task and I find this rather useful to clean up weird filenames. This is great for cleaning up various media filenames of the kind of files that can be downloaded off of the internet, unicode names, names with spaces, etc.
mv-filelist [<options>] <filelist-file>
Important
This computer program or library is provided for free. I am aware that some of the programs that I provide for free allow people to get their work done faster or better, save them time and money. If you are using this program for benefit, especially if you are using it within a commercial environment and it saves you time or work, please consider making a donation by sending me a book from my Amazon Wishlist or by a direct donation to my company's PayPal account by clicking on the link below.