Difference between revisions of "ReNamer:Rules:Extension"
(Category:ReNamer added) |
|||
Line 28: | Line 28: | ||
A far more efficient way is to compare the file's ''digital signature'' with the signatures of known file types and identify the file's type. This is done internally within ReNamer, so you do not have to know what a "digital signature" means, or the actual value of the signature for the given file. | A far more efficient way is to compare the file's ''digital signature'' with the signatures of known file types and identify the file's type. This is done internally within ReNamer, so you do not have to know what a "digital signature" means, or the actual value of the signature for the given file. | ||
− | Note that | + | Note that each extension has a range of signatures, and these ranges overlap. <br>This means a given file's signature may match with the signature of several different extensions. <br>In such cases, ReNamer shows the New filename with all matching extensions. <br>For example, "fileName.wma|wmv|asf". ReNamer also pops up an error window (because the combined extension is invalid). <br>Just read the suggested extensions and then try them out one by one. <br>This method is still better compared to making wild guesses, because ReNamer suggests only 2-3 extensions. |
− | For more accurate results, use [[ReNamer:Scripts:TrID|ReNamer with TrID script]], a specialized utility for identifying the file's real extension. Be aware that even TrID often suggests multiple extensions, and you still have to try them out. | + | For more accurate results, use [[ReNamer:Scripts:TrID|ReNamer with TrID script]], a specialized utility for identifying the file's real extension. <br>Be aware that even TrID often suggests multiple extensions, and you still have to try them out. |
|} | |} | ||
[[Category:ReNamer]] | [[Category:ReNamer]] |
Revision as of 03:20, 14 February 2012
Extension Rule
This rule allows you to attach a new extension. It is useful when the extension of a file is missing (or if the file has a wrong extension). There is an option to find the correct extension based on the file's structure.
The parameters are as follows:
Parameter | Details |
---|---|
New extension | New extension that has to be added to the filename. |
Append to the original filename | If this option is selected, the new extension will be placed after the old extension.
If it is deselected (default option) the new extension will replace the old one. |
Detect using binary signature | Sometimes the extension of a file is missing. At other times it is wrong (e.g. some downloaded files get the aspx extension, although they may actually be zip or pdf files.)
One way to identify the file extension is by trial-and-error: Attach different extensions and try to open the file with its associated application. This is very tedious. A far more efficient way is to compare the file's digital signature with the signatures of known file types and identify the file's type. This is done internally within ReNamer, so you do not have to know what a "digital signature" means, or the actual value of the signature for the given file. Note that each extension has a range of signatures, and these ranges overlap. For more accurate results, use ReNamer with TrID script, a specialized utility for identifying the file's real extension. |