brew install dericed/cameracarder/cameracarder
This script requires an Excel report from Treesize that includes the columns Name and Folder Path. Size and Last Modified are also recommended.
find_cards /path/to/treesize/report.xlsx
This step will create 5 outputs alongside report.xlsx.
report.csvthis is a temporary output that is simply a csv version of the inputreport.xslxfile.report_MEDIA_FILES.csvthis is a summarization of the media files from thereport.csvthat includes files withmov,mp4,mtsormxfextensions.report_LIKELY_SERVICE_FILES.csvthis lists files that use filenaming patterns that match those used byAFP,AP,ReutersorStoryful.report_DUPLICATESthis report lists files with duplicate filenames and filesizesreport_MEDIA_CARDS.csvthis report summarizesreport_MEDIA_FILES.csvto list folders that might include collections of camera card files.
This table includes a column called is_it_a_card which includes a value between 0 and 4. One point is given for the following qualities of a folder:
- Similar file names, in that many of the files match the same naming pattern with only numeric incrementation changing the filenames from file to file.
- Modification date range is less than 48 hours.
- The alphabetical first and last file of the folder share the same filename when numbers are excluded.
- There is more than one media file in that folder.'