PowerShell Scripts for File Management
🎥 Blackmagic BRAW Slate File Organizer
What that slate in my camera actually used for!?
After downloading all your Blackmagic RAW files, this script can organize your media into folders grouped by Scenes, then rename your files by Shot, Take, and Camera number. Files not marked as "Good Take Last Clip" can be moved to a separate folder (away from your good takes). Once complete, you can export a report of all your media.
Note, for this to work you need to properly used the in Blackmagic in camera slate for every take.
Scrip: File Coming Soon ☍
Checksum SHA-256:
File Size:Version: canary-1
🌳 File Tree Viewer
I have so many files... I wish I could see them all at once!
Use this script to make a hierarchical list of all your directories and files. The script creates a JSON file that can be uploaded into our HTML viewer. You can also search for a file name, filter by date, and filter by file type.
🔀 Compare Directories
OH NO, I made a copy of a folder but have been working in both!! How do I figure out what's the latest version??
This script will compare two directories and show you the differences. It compares file size, date modified, and file name, then shows which directory has which file. Use this when you are trying to consolidate duplicates and/or determine the latest versions of a project.
Script: File Coming Soon ☍
Checksum SHA-256:
File Size:Version:
🎬 Organize CSV Logged Slate
I don't use BRAW, how can I automatically organize my media?
If you logged all your scenes, shots, and takes but don't have a Blackmagic camera, this script can help organize all your media into folder groups. Using a CSV file it can rename all your audio & video files for your project.
Scrip: File Coming Soon ☍
Checksum SHA-256:
File Size:Version:
📜 Simple CMD List
I just need a simple list of my files NOW!!
This is the simplest way to quickly list all the files in a folder. It creates a basic .TXT file that can be opened in any text editor or spreed sheet.
Open the Windows Command Prompt:
Go to Start (or just hit the Windows Key)
Type CMD to search, open Command Prompt
You may need to right click and Run as Admin
Type CD and then copy and paste the file path to your folder (put it in quotes if your file name has spaces in it)
cd "C:\Users\Examples\Desktop\Media"
Paste the following script and a text file will appear in your folder listing all files
To only list files in a specific folder use:
dir /b /o:n>_ListFileNames.txtTo list all files in a folder and sub-folders (recursive) use:
dir /b /s /o:n>_ListFileNames.txt
📝 Rename Files & Create CSV
I just took 1,000 photos for a wedding, how do I rename all these files!?
This script will automatically rename all your media based on the rules that you choose. It can quickly take files named "sony 000001.jpg" to something a little more useful like:
MalenkyWedding_Photo-001_2025-03-09.jpg
Features:
Prefix
Postfix
Add date to file names (date created)
Rename sequentially
Remove / replace special characters
Find & replace specific strings
Scrip: File Coming Soon ☍
Checksum SHA-256:
File Size:Version:
📂 Create Bulk Directories
This script will create directories on the fly, from a CSV or from a text file. Use this when you are starting a project and want to create hundreds of directories all at once. For example, when you want to create a directory for each scene's video files before you start filming. You can also pre-populate each director with a readme.txt file and notes to them automatically.
💾 Task Schedule Backups
Need to customize your data backups? This powershell script run on windows task scheduler can more project files and rename them with the date and time of the file backup.
📑 Can't Run Scripts??
If your computer is telling you that you do not have permissions to run these scripts, then you may have to change the script execution policy.
From Windows Command Prompt, Run as Admin:
powershell.exe set-executionpolicy unrestricted -force
From Windows PowerShell, Run as Admin:
set-executionpolicy unrestricted -force
✅ Verify These Scripts are Safe
To verify that the file you downloaded is from us, you can right click on the file, select "CRC SHA" then "SHA-256". The hash code listed should match the checksum that we've posted. If the values are different then the file may not be authentic and could be malicious.
Resources
BlackMagic SDK: https://www.blackmagicdesign.com/products/blackmagicraw
Special Thanks to Ian Morrish from New Zealand for the help
TagLib-Sharp:
⚠️
PowerShell scripts can severely damage or corrupt system files, follow instructions carefully and make sure your media files are backed up before executing scripts against them. This software is provided as open sources free to use and distribute, and is provided "as is" without any type of warranty.
⚠️
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
(The MIT License - https://opensource.org/license/mit)