media-archiver
v0.0.1
Published
Archiver for media files imported from mobile devices
Readme
Media Archiver
Archive media files from a directory to a destination following YYYY/MM/DD saving pattern
Install
$> npm install -g media-archiverUsage
--src | -s: The source directory--dest | -d: The destination directory--mode | -m: The mode:copy,moveordate. Date is for fixingatimeandmtimeof destination file--dryRun | -r: Dry run. Do the lookup part with console outputs without applying any change
$> media-archiver -s ~/some/dir -d ~/another/dir -m copy -rConfig file
media:
video:
dir: Videos
ext:
- mp4
- mov
photo:
dir: Photos
ext:
- jpg
- jpeg
- png
mode: copy
dryRun: falseRemark: mode and dryRun are overrided by the command line options
