Archives media
archiver --source "C:\Source" --destination "M:\Destination" --extensions ".mp4|.mpeg" --retention 15 --format "*yyyy-MM-dd_HH-mm-ss"
or
archiver -s "C:\Source" -d "M:\Destination" -e ".mp4|.mpeg" -r 15 -f "*yyyy-MM-dd_HH-mm-ss"
or
archiver --source "C:\Source" --extensions ".mp4|.mpeg" --retention 15 --max 45 --format "*yyyy-MM-dd_HH-mm-ss" --delete
or
docker run --rm -it -v "//d//Media/Videos:/source" archiver --source /source --extensions ".mp4|.mpeg" --retention 30 --max 60 --format "*yyyy-MM-dd_HH-mm-ss" --delete --debug --demo --recurse
--extensions | -e: File extensions to archive, example: ".mp4|.avi|.mpeg", default is ".*"
--retention | -r: Number of days to retain locally, after which files will be archived. Default values is 15.
--max | -m: Maximum number of days to look at. Default value is 36500.
--format | -f: File name date format. Date can only be at the front or the end. Example: "*yyyy-MM-dd_HH-mm-ss"
--debug: Enables debug logging (information by default)
--demo: Enables demo mode where no changes are made
--recurse: Recurse sub directories in source path. Default value is false.
--delete | -D: Deletes instead of archiving. Default value is false.