Linux has a variety of batch file renaming options but I didn't see any short-comings in brename that jumped out at me. Features: Cross-platform. Supporting Windows, Mac OS X and Linux. By checking potential conflicts and errors. Supporting including and excluding files via regular expression. List all file names from a specific folder in worksheet with kutools for Excel. If there are multiple files that you want to rename, first, you can list the old file names in a column of worksheet, and then enter the new filenames that you want to replace with.
ExifTool is a program by Phil Harvey (exiftool.org) distributed with Advanced Renamer to create support for more file formats like raw camera files, documents, zip files etc. ExifTool supports both more formats and more tags which can be used to mass rename files through Advanced Renamer.
4k video downloader 4 0 download free. Tag values can get investigated by selecting a file and clicking the ExifTool button in the Fileinfo box. From here you can copy a tag and paste it into a method of choice.
At the time of writing ExifTool supports the following file formats:
3FR | Hasselblad RAW |
3G2, 3GP2 | 3rd Gen. Partnership Project 2 audio/video |
3GP, 3GPP | 3rd Gen. Partnership Project audio/video |
ACR | American College of Radiology ACR-NEMA |
AFM, ACFM, AMFM | Adobe [Composite/Multiple Master] Font Metrics |
AI, AIT | Adobe Illustrator [Template] |
AIFF, AIF, AIFC | Audio Interchange File Format [Compressed] |
APE | Monkey's Audio |
ARW | Sony Alpha RAW |
ASF | Microsoft Advanced Systems Format |
AVI | Audio Video Interleaved |
BMP, DIB | Windows BitMaP / Device Independent Bitmap |
BTF, TIFF, TIF | BigTIFF |
CHM | Microsoft Compiled HTML format |
COS | Capture One Settings |
CR2 | Canon RAW 2 |
CRW, CIFF | Canon RAW Camera Image File Format |
CS1 | Sinar CaptureShop 1-shot RAW |
DCM, DC3, DIC, DICM | DICOM - Digital Imaging and Communications in Medicine |
DCP | DNG Camera Profile |
DCR | Kodak Digital Camera RAW |
DFONT | Macintosh Data Fork Font |
DIVX | DivX media format |
DJVU, DJV | DjVu image |
DNG | Digital Negative |
DOC, DOT | Microsoft Word Document/Template |
DOCX, DOCM | Office Open XML Document [Macro-enabled] |
DOTX, DOTM | Office Open XML Document Template [Macro-enabled] |
DYLIB | Mac OS X Mach-O executable and library files |
DV | Digital Video |
DVB | Digital Video Broadcasting |
EIP | Capture One Enhanced Image Package |
EPS, EPSF, PS | [Encapsulated] PostScript Format |
ERF | Epson RAW Format |
EXE, DLL | DOS/Windows executable and library files |
EXIF | Exchangable Image File Format metadata |
EXR | Open EXR |
F4A, F4B, F4P, F4V | Adobe Flash Player 9+ Audio/Video |
FFF | Hasselblad Flexible File Format |
FLA | Macromedia/Adobe Flash project |
FLAC | Free Lossless Audio Codec |
FLV | Flash Video |
FPX | FlashPix image |
GIF | Compuserve Graphics Interchange Format |
GZ, GZIP | GNU ZIP compressed archive |
HDP, WDP | Windows HD Photo / Media Photo |
HDR | Radiance RGBE High Dynamic-Range |
HTML, HTM, XHTML | [Extensible] HyperText Markup Language |
ICC, ICM | International Color Consortium color profile |
IDML | Adobe InDesign Markup Language |
IIQ | Phase One Intelligent Image Quality RAW |
IND, INDD, INDT | Adobe InDesign Document/Template |
INX | Adobe InDesign Interchange |
ITC | iTunes Cover Flow artwork |
J2C, JPC | JPEG 2000 codestream |
JP2, JPF, J2K, JPM, JPX | JPEG 2000 image [Compound/Extended] |
JPEG, JPG | Joint Photographic Experts Group image |
K25 | Kodak DC25 RAW |
KDC | Kodak Digital Camera RAW |
KEY, KTH | Apple iWork '09 Keynote presentation/Theme |
LA | Lossless Audio |
LNK | Microsoft Shell Link |
M2TS, MTS, M2T, TS | MPEG-2 Transport Stream |
M4A, M4B, M4P, M4V | MPEG-4 Audio/Video |
MEF | Mamiya Electronic Format |
MIE | Meta Information Encapsulation |
MIFF, MIF | Magick Image File Format |
MKA, MKV, MKS | Matroska Audio/Video/Subtitle |
MOS | Creo Leaf Mosaic |
MOV, QT | Apple QuickTime Movie |
MP3 | MPEG-1 layer 3 audio |
MP4 | Motion Picture Experts Group version 4 |
MPC | Musepack Audio |
MPEG, MPG, M2V | Motion Picture Experts Group version 1 or 2 |
MPO | Extended Multi-Picture format |
MQV | Sony Mobile QuickTime Video |
MRW | Minolta RAW |
MXF | Material Exchange Format |
NEF | Nikon Electronic Format |
NMBTEMPLATE | Apple iWork '09 Numbers Template |
NRW | Nikon RAW |
NUMBERS | Apple iWork '09 Numbers spreadsheet |
ODB, ODC, ODF, ODG, ODI, ODP, ODS, ODT | Open Document Database/Chart/Formula/Graphics/ Image/Presentation/Spreadsheet/Text |
OFR | OptimFROG audio |
OGG, OGV | Ogg bitstream container |
ORF | Olympus RAW Format |
OTF | Open Type Font |
PAC | Lossless Predictive Audio Compression |
PAGES | Apple iWork '09 Pages document |
PCD | Kodak Photo CD Image Pac |
Adobe Portable Document Format | |
PEF | Pentax Electronic Format |
PFA, PFB | PostScript Font ASCII/Binary |
PFM | Printer Font Metrics |
PGF | Progressive Graphics File |
PICT, PCT | Apple Picture file |
PMP | Sony DSC-F1 Cyber-Shot image |
PNG, JNG, MNG | Portable/JPEG/Multiple-image Network Graphics |
PPM, PBM, PGM | Portable Pixel/Bit/Gray Map |
PPT, PPS, POT | Microsoft PowerPoint Presentation/Slideshow/Template |
POTX, POTM | Office Open XML Presentation Template [Macro-enabled] |
PPSX, PPSM | Office Open XML Presentation Slideshow [Macro-enabled] |
PPTX, PPTM | Office Open XML Presentation [Macro-enabled] |
PSD, PSB | PhotoShop Drawing / Large Document |
PSP, PSPIMAGE | Paint Shop Pro |
QTIF, QTI, QIF | QuickTime Image File |
RA | Real Audio |
RAF | FujiFilm RAW Format |
RAM, RPM | Real Audio/Plug-in Metafile |
RAR | RAR Archive |
RAW | Kyocera Contax N Digital RAW |
RAW | Panasonic RAW |
RIFF, RIF | Resource Interchange File Format |
RM, RV, RMVB | Real Media/Video [Variable Bitrate] |
RSRC | Mac OS Resource |
RTF | Rich Text Format |
RW2 | Panasonic RAW 2 |
RWL | Leica RAW |
RWZ | Rawzor compressed image |
SO | Unix ELF executable and Shared Object files |
SR2 | Sony RAW 2 |
SRF | Sony RAW Format |
SRW | Samsung RAW format |
SVG | Scalable Vector Graphics |
SWF | Shockwave Flash |
THM | Canon Thumbnail |
THMX | Office Open XML Theme |
TIFF, TIF | Tagged Image File Format |
TTF, TTC | True Type Font/Collection |
VOB | Video Object |
VRD | Canon DPP Recipe Data |
VSD | Microsoft Visio Drawing |
WAV | Windows digital audio WAVeform |
WEBM | Google Web Movie |
WEBP | Google Web Picture |
WMA, WMV | Windows Media Audio/Video |
WV | WavePack lossless audio |
X3F | Sigma/Foveon RAW |
XCF | GIMP native image format |
XLS, XLT | Microsoft Excel Spreadsheet/Template |
XLSX, XLSM, XLSB | Office Open XML Spreadsheet [Macro-enabled/Binary] |
XLTX, XLTM | Office Open XML Spreadsheet Template [Macro-enabled] |
XMP | Extensible Metadata Platform sidecar file |
ZIP | ZIP archive |
There are a few different methods of how this can be done. The example below shows how you can use the date command in the for command to extract the current date and use that data to rename the file. Each of the for commands listed in this page would be placed into a batch file.
Date
Navicat premium essentials 12 1 19 16. Below is a breakdown of the above command and what it all means.
- for /f - The for command and the /f switch.
- 'tokens=1-5 delims=/ ' - How many tokens the incoming data (in this case the date) will be broken into; 1-5 is five different tokens. Delims is short for delimiters and break up the date in this example, the / (forward slash) and a space (space before the quote).
- %%d - The beginning character used for the token. Since there are 5 tokens in this example it would be d,e,f,g, and h.
- in ('%date%') - The data, which in this case is the %date% (date) of the computer.
- do - What the for command does. The rename command can be substituted for anything else.
- rename 'hope.txt' %%e-%%f-%%g.txt - Rename the file 'hope.txt' to the tokens e,f, and g with a .txt file extension. This example also has a - (hyphen) in-between each token to separate the month, day, and year in the file name.
When %date% is used in a batch file, it displays the date in the following format: Sun 09/02/2007. This command breaks this date into the tokens: 'Sun' (%%d), '09' (%%e), '02' (%%f), and '2007' (%%g).
In this example, using the above date mentioned hope.txt would be renamed to 09-02-2007.txt.
Time
This command is very similar to the above example. However, instead of using the forward slash and space to break up the data, we're using a : (colon) because the time uses this character. Finally, because we're renaming the file to only the hour and minute this example is only using the d and e token. Movie explorer 1 8 download free. Additional information about what everything in this line means is found in the above date example.
When %time% is used in a batch file, it displays the following format: 19:34:52.25. This command breaks this time into the tokens: '19' (%%d), '34' (%%e), and '52.25' (%%f).
Batch Rename Files In Windows
Batch Rename Files Windows 10
In this example, using the above time mentioned hope.txt would be renamed to 19-34.txt.
Additional information
- See our batch file definition for further information and related links.