![]() |
F2 Batch File Renamer |
![]() |
|
![]() |
If you want to know why it is called F2, select a file in Windows Explorer, and then press the F2 key.
How to UseComing soon... :-)Regular ExpressionsIn order to support regular expressions, F2 uses the open source C++ library boost regex++, which is part of the boost library. If you want to know about the regular expression syntax accepted by regex++ (and hence by F2) then read this web page from the regex++ documentation. The syntax is pretty 'standard', however, as a brief summary:
So, say for example, you have a collection of mp3 files that are named using the following general pattern:
so, for example, you might have:
...and so on, and you want to rename the files so that you have a folder for each artist, and a sub-folder within that for each album, and in that album folder are the mp3 files of the tracks from that album. But you only want the mp3 files to be named using the track number and name. In this case, you would use the following regular expression to match each of the filename components:
This would get you 4 tagged expressions (%1 through %4), which you can then use to rename the file. In our example, we would use this as the new filename pattern:
If you used F2 to rename using this scheme, our example files would end up in a nested folder hierarchy, as follows:
IssuesThe program has a few rough edges which I'll try to fix soon. In particular, at the moment the checkbox for enabling mp3 tags has no effect (the tags are always read and used if you use any mp3tag keywords in your renaming scheme). It should run on Windows 95 upwards, but so far I have only tested it on Windows 2000 and Windows XP.
Platforms: Windows License: GPL Copyright: Tim Browse, 2002 Status: Completeness: 8/10, Reliability: 7/10
Version HistoryVersion 1.01
Version 1.00The original version.AcknowledgementsMany thanks to:
|