When using media management in Davinci Resolve it renames your files. This undoes that renaming without overwriting files.
- Run Davinci Resolve's Media Management to an empty directory
- Open terminal and type this command
python ./ocm_trim_cleaner.py /path/to/mediaIt's that easy! - Optionally add
-vor--verbosefor more info when the program is running
- Find any image sequence directory ending in _S###, remove that extension, and consolidate media in those directories.
- Find video files ending in _S###.***, creates a folder for each _S### and puts media in there. Then it renames it to its original name
/example_directory
│
├── file_S001.mov
├── file_S002.mov
├── anotherfile_S001.mov
├── r3d_S002.RDC
└── rawfile.R3D
├── dir_S001
└── subfile.01.dpx
└── dir_S002
└── subfile.02.dpx
/example_directory
│
├── S001
├── file.mov
└── anotherfile.mov
├── S002
├── file.mov
└── r3d.RDC
└── rawfile.R3D
└── dir
├── subfile.01.dpx
└── subfile.02.dpx