File Management
File management — fetch and upload CMS media, sanitize filenames, set capture date, and display media metadata
Sanitize Filenames
Cleans filenames of forbidden characters and normalizes Unicode (NFD→NFC) — recursively for whole folders
maxwel file-sanitize --input-dir <dir>
Set Capture Date
Sets the capture date in the metadata of photos and videos — so the macOS Photos app sorts them correctly
maxwel media-set-date --input <file> --date "<YYYY-MM-DD>"
Show Metadata
Displays all metadata of a media file (video or audio) in a clear overview
maxwel media-get-metadata --input <file>
Fetch CMS Media
Fetches the URLs of all media files from the CMS server — optionally filtered and saved to a directory
maxwel strapi-get-media --filter "<query>" --output-dir <dir>
CMS Upload
Uploads one or more files to the CMS — optionally into a specific folder and replacing files with the same name
maxwel strapi-upload <file> --folder <id>