guglairport.blogg.se

Batch file renamer osx
Batch file renamer osx








You can find my original answer below for reference.Ĭatalog = Struct.new(:time, :title, :file_name, :escaped_file_name) doĭIFF_TMP_DIR = Dir.mktmpdir('batch-rename-')įile_name = "# I have uploaded the source to GitHub and published it as an installable gem on RubyGems.īoth are under a ISC license so feel free to send me issues and pull requests. To take advantage of the simplification, I have also rewritten my answer above. (Disclosure: I’m the author of the batch-rename tool.)Įdit: I liked OP’s problem so much that I’ve made my answer into a command-line tool for everyone’s convenience. The script will wait for you to close the editor. (For convenience, I suggest to ⌘-drag the folder from the Finder into the Terminal window.) In Terminal.app, cd to the directory which contains the files you wish to rename.

#Batch file renamer osx install

Install DiffMerge and gem install batch_rename (see README.md for details). edit 2 - the original Windows software is called Oscar's Renamer: I'm specifically looking for software with the kind of UI I described. edit - to clarify: I'm aware of OSX's built-in bulk file renaming options in Finder, and software along the likes of NameChanger, Renamer, Automator, ABetterFinderRename, etc.

batch file renamer osx

Modified filenames were highlighted with a different background and applying changes to all files was a simple CMD+S. You could use the keyboard's arrows to move around the filenames without extra clicks or bulky interfaces.

batch file renamer osx

With the files in this interface, you had your "standard" find/replace tools (CMD+F), as well as the ability to use REGEX. Imagine a text editor (such as TextEdit, Sublime Text, etc.) open to a document that simply lists all filenames, with each filename on a new line. You would select the files you wish to work with, and their filenames would appear within what was essentially a huge textarea.

batch file renamer osx

Many years ago - when I was a Windows user - I had an application which made renaming files an amazingly simple experience.








Batch file renamer osx