I’m happy to help you out since your program has saved me so much time. Ivan please feel free to copy and paste this explanation to any troubleshooting FAQ you may create in the future. The problem should be fixed and hopefully should not reoccur. jar files”, make sure Java is highlighted in blue, and finally click on “OK”. jar files to Java by right clicking on the icon, then click “Open with”, next click “Choose another app”, now click the box next to “Always use this app to open. To fix the problem, you need to download and install the newest Java and install Massive File Renamer, then right click on the icon, next click “Open with”, and finally click “Java(TM) Platform SE Binary”. The program file is MassiveFileRenamer.jar, and my default program to open. I had used the program on Windows 7 with zero problems in the past, so I knew the program was legit. Yet, when I clicked on the icon the program still wouldn’t open properly, just WinRAR. After coming back to your website again, I realized that I needed to download the newest Java, which I did. I figured it out but I thought I would comment here to troubleshoot for other folks who may be in the same situation.Īfter installing Massive File Renamer, whenever I tried to open the Massive File Renamer program by clicking on the icon or by selecting it in the Start Menu it would open WinRAR and not open the actual program. I did however encounter some problems after I upgraded to Windows 10, but I couldn’t find any information on how to fix my problem. Massive File Renamer was a life saver for me on Windows 7. Installįirst, ensure Node.js v14 or above is installed.Ivan, thank you so much for creating this program and making it available for free. More information about using plugins and writing plugins.įor more information on Regular Expressions, see this useful guide.The following gif demonstrates the default view (with and without -verbose mode), the built-in alternative views ( long, diff and one-line) and a custom view. Save the above as suffix.js then process all files in the current directory using the above plugin as the replace chain. import path from 'path'Ĭonst newName = file.name + ' ' + file.ext This trivial example appends the text to each file name. Create a module exporting a class which defines a replace method. For example, typing 'test' renames the files to test, test (1), test (2), test (3), etc. Once the files are selected, press F2 to edit the file name and type the new name for the files. How to select or highlight multiple files and folders. If no filenames or patterns are specified, renamer will look for a newline. renamer -find jpeg -replace jpg '' Fine-tune which files to process. renamer -find jpeg -replace jpg As above but operates on all files and folders recursively. $ renamer -find "/one/i" -replace "two" ONE.jpgįor more complex renames, or if you just prefer using code, you can write a replace function. In Explorer, select all the files you want to rename. This trivial example will replace the text jpeg with jpg in all file and directory names in the current directory. The case-insensitive pattern /one/i matches the input file ONE.jpg, renaming it to two.jpg. Simple example using a regular expression literal. $ cat files.txt | renamer -find jpeg -replace jpg Same again but with a hand-rolled input of filenames and glob patterns. mtime -20m | renamer -find jpeg -replace jpg This example operates on files modified less than 20 minutes ago. This approach is useful for crafting a specific input list using tools like find. If no filenames or patterns are specified, renamer will look for a newline-separated list of filenames on standard input. $ renamer -find jpeg -replace jpg *Īs above but operates on all files and folders recursively. This trivial example will replace the text jpeg with jpg in all file and directory names in the current directory. MacOS & Linux users should use single quotes.Īs input, renamer takes a list of filenames or glob patterns plus some options describing how you would like the files to be renamed. The examples below use double quotes to suit Windows users. DisclaimerĪlways run this tool with the -dry-run option until you are confident the results look correct. It is flexible and extensible via plugins. Renamer is a command-line utility to help rename files and folders. Please share feedback and improvement ideas here. Upgraders, please read the release notes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |