
If they all have the same Album title and you use %album% for renaming, foobar2000 seems to know it only needs to rename each file once. You can still highlight them all and batch rename the same way. If an MKV contains chapters, the MKV will open in a playlist displaying each chapter as an individual file. If that turns out to be the case, here's the AC3 decoder and here's the DTS decoder. The MKV must contain audio for foobar2000 to display the title (it is an audio player, after-all), so it may not display it for MKVs where the audio is of a type it doesn't understand. Foobar2000 doesn't seem to read the file segment title for MKA, only MKV. You can of course highlight multiple files and batch rename.įoobar2000's playlist containing a single MKV at the top, the playlist mostly covered by the File Operations menu below. When the File Operations Window opens, you'd add %album% to the "file name pattern" area and you'll see a preview of the operation. That aside, you'd right click an MKV in the playlist, select the File Operations menu and then "Rename To". That mightn't seem to make sense at first but given MKVs can contain chapters, the "file segment title" being the Album while the chapters have individual titles is probably logical. It says file does not exist.When you open an MKV with foobar2000 it displays the "file segment title" as Album. $csv="c:\path\to\csv\rename_files.csv" #path to CSV fileĬd ($folder) import-csv ($csv)| foreach The following PowerShell script will manage the process of changing file names: $folder="c:\path\to\folder" #target folder containing files Populate the CSV as follows: Path,FileNameĬ:\path\to\filename1.JPG,newfilename1.JPGĬ:\path\to\filename2.JPG,newfilename2.JPG Column 1 = Current file name, including path.Using Microsoft Excel or similar, create a CSV files with two columns:

The following process will allow you change file names en masse based on a CSV file: Step 1: Create a CSV Rather than a meaningless string, I wanted file names to include an identification number as well as some experimental parameters so that I could match the photo to the plant later on.

Unfortunately the standard “IMG_xxxx.JPG” naming convention had been used. JPG images files that I needed to match up to individual plants. Use this simple PowerShell script to change hundreds or thousands of file names automatically, based on a CSV.Īs part of a scientific experiment, I had a large number of.
