Bulk Rename Files

Change the name of one or more files - something elementary.But if you want to do a group renaming files, the number of which exceeds several tens or even hundreds of pieces, manual entry of new titles may take several hours or even more.Fortunately, there are special programs, as well as some of the techniques that allow us to reduce the time required to a minimum and to avoid routine manual work.Therefore, if there is a desire to bring order to your music or photo collection, to give all the stored files meaningful names, now is the right time to do it.Consider how best you can do batch rename files accumulated on your computer.

mass change of names depends primarily on what operating system you use.Here are some techniques for the most popular operating systems:

  • Windows 7

easiest way to rename files in this system is carried out inside the conductor (Windows Explorer).Pre-need to put all the necessary files to a separate directory, not to accidentally catch the extra paperwork.Now select them using a combination «Ctrl + A» and right-click context menu in which you select the item "Rename".Enter a common name, such as "wallpaper", and all of our selected files will get new names that consist of a common name and serial number in parenthesis («wallpaper (1)», «wallpaper (2)», «wallpaper (3)" andetc.).

also mass renaming of files can be done from the command line.In this case, with the help of «Win + R» launch the desired application window, type in the line «cmd», and pressing «Enter» open a command prompt.In her team «cd» specify the path to the file, such as a folder «pics» on D: \ drive will command the following: cd d: \ pics.Let's say we want to change the file extension «GIF» to «JPG».We use the command «rename» abbreviated «ren» and write ren * .gif * .jpg.The team itself and enhance each other should be separated by a single space.

  • Linux

In this system, renaming files can be performed using standard utility «Rename».The team for the utility «Rename» has the form:

rename [-v] [-n] [-f] perlexpr [files];

[-v] - show the new file name;

[-n] - display a list of files to rename;

[-f] - overwrite existing files at the coincidence;

perlexpr - template by which to carry out the renaming.

Suppose that in the folder, among other files with the extension «TXT», and we want to rename them «mytext.bak».Then the team will take the form:

rename 's / .txt / .mytext.bak / g' * .txt

explain what is our template:

s - require replacement;

/.txt/ - that replaced;

/.mytext.bak/ - a new name;

g - global, the operation will affect all occurrences found.

command "rename" can also help with the massive changes in the register.The expression "rename 'y / az / AZ /' *" converts all names to make them fully capitalized.

  • Mac OS

Rename files in this environment is not as easy and simple as in Windows.In the Finder, originally a feature is missing, but it can be added through Automator.To do this, run a standard application and select the "Service".Then, in the library go to the "Files and Folders".It has a sub-item entitled "Rename objects Finder».It must be transferred to the editing area, thus refusing to copy.In the box "Service receives the" set "Files or Folders".Then set "Use this service in Annex Finder", to rename themselves the parameters tick the "Show in progress" and set the option "Make it consistent."It now remains only to check and save the settings.

In order to carry out renaming files with advanced settings (moving, translit, search for tags), it is better to use special universal tools such as "SVS RenameFiles", "Multi Renamer", "Advance Renamer" and others.