This is a clunky workaround, and only for people familiar with the command line. But gotta be honest, considering that deleting unused media is infrequent, I found this route fast enough, perfectly fine.
Ugly, but perfectly fine. Hugely beats 45 minutes of grinding disks copying files in Media Manager to a scratch disk with enough room, deleting files, copying back, yada yada. (BM, just join the NLE team, might as well! But until then...)
This works on Mac or Linux. Windows is
slightly different. ["dir" instead of "ls -lah; "del" instead of rm, run as a batch file]
So in the media tab I made a smart bin of all the unused clips (and some other constraints).
Selected all the clips, then
- File > Export Metadata From > Selected Media Pool Clips...
Opened the .cvs in a spreadsheet, removed all columns except the file path and filename.
- Find/Replace: Append 'ls -lah' at the head of each line in the path column.
- Added a quote at the head of the file path, and one at the end of the filename.
- Save as (comma delimited) text. In a text editor, one more find/replace: Remove the commas, replace with "/"
Chmod +x and run the thing as a script. It confirms the existence of the files to delete.
Back into the text editor, find/replace "ls -lah" to "rm". Run the thing. Files gone.
Return to DRS and remove all the clips from the smart bin. All gone!
- The Poor Man's
Delete all Unused Media At your own risk, best to know the command line. And you know, this would not be a hard script it program to write and toss up on github: Convert the metadata file; show and confirm files to be deleted; execute. It can also give an option to move to Trash / Recycle Bin. That's for somebody else to do (just credt moi). Meanwhile, cheereo!