Batch renaming

Batch renaming

Batch renaming is the process of renaming multiple computer files and folders in an automated fashion, to save time and reduce the amount of work involved. Some sort of software is required to do this. Such software can be more or less advanced, but most have the same basic functions. Batch renaming software exists for most operating systems.

Batch renaming can also be referred to as 'mass file renaming', rename 'en masse' and 'bulk renaming'.

Common functions

Most batch renamers share a basic set of functions to manipulate the filenames:

* Find a string within the filename and replace it with another, or remove it.

* Setting the capitalization of the letters in the filenames.

* Extracting information from the files, such as Mp3 ID3 tags, and putting it in the filename.

* Add a number sequence (001,002,003,...) to a list of files.

Some batch rename software can do more than just renaming filenames. Features include changing the dates of files and changing the file attributes (such as the write protected attribute).

Common uses

There are many situations where batch renaming software can be useful. Here is a list of some common uses:

* Many digital cameras store images using a base filename, such as DCSN0001 or IMG0001. Using a batch renamer the photographer can easiliy give the pictures meaningful names.

* When downloading files from the Internet such as mp3 music, the files often have crude names. A batch renamer can be used to quickly change the filenames to a style that suits the person who downloaded them.

* When managing large amount of files, such as a picture database, a batch renamer is more or less essential for the task of maintaining filenames without too much manual labour.

Basic renaming problems

There is some problem to take in consideration when renaming a file list.
(=> means: renamed to)

* Detect that the target filename doesn't already exist.

file01 => file02 (file02 already exists in file-system)

* Detect that the target filename is not already used.

file01 => file03
file02 => file03 (file03 is already used)

* Detect cycle renaming (Solved by a two-pass renaming).

file01 => file02 (file02 already exists in file-system)
file02 => file03 (file03 already exists in file-system)
file03 => file01 (file01 already exists in file-system)

Two-pass renaming

A two-pass renaming use a temporary filename (that doesn't exist in file-system) as shown below.
(=> means: renamed to)

* First pass

file01 => file01_AAAAA
file02 => file02_AAAAB
file03 => file03_AAAAC

* Second pass

file01_AAAAA => file02
file02_AAAAB => file03
file03_AAAAC => file01

It solves the cycle renaming problem.

List of batch renaming software

For Mac OS X :
* Automator, - comes with Mac OS X

For Linux :
* GNOME Commander - open source
* GPRename - open source

Cross-platform :
* Métamorphose - open source


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Batch — may refer to:* Batch (album), an album by Big Drill Car * Batch (alcohol) * batch (Unix), a command to queue jobs for later execution * Batch file * Bach (New Zealand), a holiday home (pronounced batch ) * Batch (bread roll), Other topics related …   Wikipedia

  • Comparison of image viewers — This article presents a comparison of image viewers and image organizers which can be used for image viewing. Contents 1 General information 2 Supported file formats 3 Supported desktop environments …   Wikipedia

  • Tag editor — A tag editor (or tagger) is a piece of software that supports editing metadata of multimedia file formats, rather than the actual file content. These are mainly taggers for common audio tagging formats like ID3, APE, and Vorbis comments (for… …   Wikipedia

  • Rename — (re + name) is a word meaning change the name of something. Different areas, such as linguistics, relational algebra, and computer science incur renaming actions with different detailed activity, however the principles behind are all the same… …   Wikipedia

  • RL Vision — is a software and games developer based in Sweden. It was founded in 1998 and is maintained as a hobby project for the involved. It is most famous for their pixel image editor ArtGem and their batch renaming software called Flash Renamer.… …   Wikipedia

  • FastStone Image Viewer — Infobox Software name = FastStone Image Viewer caption = FastStone Image Viewer author = developer = released = latest release version = 3.6 latest release date = release date and age|2008|09|15 latest preview version = 3.6 Beta 2 latest preview… …   Wikipedia

  • IMatch — Infobox Software name = IMatch caption = IMatch 3.4 developer = Mario Westphal latest release version = 3.6.0.60 latest release date = 2008 04 19 operating system = Windows genre = Digital asset management license = Proprietary website =… …   Wikipedia

  • GPRename — Infobox Software name = GPRename caption = Screenshot latest release version = 2.6 latest release date = July 10, 2008 operating system = Linux, BSD and Unix like operating systems genre = Batch renaming utility license = GPL 3 website =… …   Wikipedia

  • Métamorphose (renamer) — Métamorphose Main panel on Ubuntu 7.04 Stable release 1.1.2 Written in Python Operat …   Wikipedia

  • File manager — For the Windows 3.x file manager, see File Manager (Windows). A file manager or file browser is a computer program that provides a user interface to work with file systems. The most common operations performed on files or groups of files are:… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”