|
|
|
zRenamerOverviewzRenamer alters filenames with an alphabetic beginning and numeric ending by adding or removing leading zeroes from the numeric part of the filenames. It also adds or removes a period before the numeric portion of the filenames. This means that it can convert a filename of the form CATS0081.TGA to CATS81.TGA or vice-versa. Specify one of the filenames you want to convert and then change the numeric part of the filename to a * (wildcard character). For example, if you had selected CATS0081.TGA you would edit this to be CATS*.TGA . This would let you change all the CATS picture filenames. You can also tell zRenamer to add a period before the numeric portion of the filename, so that CATS0081.TGA becomes CATS.81.TGA or to remove such a period (if one exists) so that CATS.0081.TGA becomes CATS81.TGA .
DiscussionSuppose that, in the directory d:\imagefiles\dogs, you have a sequence of image files with zero-less filenames, e.g., dogs1.tga through dogs100.tga . If you want to use them with an application that insists on leading-zero filenames containing four numerical characters (e.g., dogs0001.tga through dogs0100.tga), you will need to rename each and every file in the sequence. zRenamer automates this job.
(Note: We will use "4" for the sake of this discussion, but you can of course choose any number of numerical characters). The above screen shows zRenamer configured to add leading zeros until there are at least 4 numerical characters. So:
would become
Of course, names that already have 4 numeric characters, such as:
would remain unchanged. Additionally, zRenamer does not usually alter files which have more than the specified number of numerical characters, so:
would remain unchanged, since it already contains more than 4 numerical characters. The exception is that if there are more than 4 numerical characters and they begin with zero(s), zRenamer will strip away leading zeros until it encounters a non-zero integer or there are only 4 numerical characters remaining, whichever occurs first. Thus, zRenamer renames dogs0010345.tga to dogs10345.tga and dogs00000345.tga to dogs0345.tga . Conversely, with Unpad Zero set, zRenamer simply strips all leading zeroes from filenames that fit the Image Filename Pattern. For example, the two following filenames
would both become
The above screen shows zRenamer configured to remove leading zeros, and since Period On is not set, to remove the period preceding the numeric portion of the filename. So:
would become
The above screen shows zRenamer configured to remove leading zeros and to preserve (or create) a period before the numeric portion of the filename. So:
would become
For a general discussion of this topic, please see Zeroes in Image File Names. |
|
copyright Video-Collage Inc. |