Batch renaming files in batches under Mac systems is not easy, and the options are staggering. This article will introduce in detail how to efficiently rename files in macOS.
Step for batch renaming files in Mac system
First, select all files that need to be renamed. You can use the shortcut key Cmd A to select all files in the folder, or hold the Shift to click to select consecutive files, or hold the Cmd to select Any file. Flexible combination of these methods can effectively complete file selection.
Next, start renaming. Unlike the simple right-click "rename" in Windows system, a dialog box will pop up in the Mac system, providing three renaming modes:
This is the easiest mode. You simply enter the text in the text box and select before or after adding it to an existing file name. The renamed file name effect will be previewed in real time at the bottom of the dialog box. For example, if the original file name is "IMG_2002", after adding "Wedding", you can get "WeddingIMG_2002" or "IMG_2002Wedding".
This mode allows you to find and replace specific characters in file names. For example, if you enter "IMG" in the "Find" field and "Wedding" in the "Replace with" field, then "IMG" in all file names containing "IMG" will be replaced by "Wedding", for example, "IMG_2002" will Change to "Wedding_2002". It should be noted that this function will match exactly and replace all found strings, such as "imG" in the file name "TimGrant" will also be replaced.
This is the most complex but flexible pattern, offering three number-based options, each containing a Custom Format text box and a Start Number field.
After selecting the appropriate mode and setting it, click the "Rename" button to complete the batch renaming operation.
The above is the detailed content of There’s more to renaming multiple files on a Mac than you think. For more information, please follow other related articles on the PHP Chinese website!