Skip to content

Instantly share code, notes, and snippets.

@DanielSundberg
Last active August 29, 2015 14:09
Show Gist options
  • Save DanielSundberg/acd24a9e515f966584eb to your computer and use it in GitHub Desktop.
Save DanielSundberg/acd24a9e515f966584eb to your computer and use it in GitHub Desktop.
Script to copy images from memory card to folder on disk
Moved to https://github.com/DanielSundberg/CopyImages
@DanielSundberg
Copy link
Author

Copy images from memory card to disk.

Default is to copy all new files. Nothing will be overwritten. inDir and outDir must be specified if other than default.

Command line arguments:

-inDir: from where to read files, memory card path
-outDir: destination dir, where to put files
-raw: copy NEF files (Nikon raw files), will copy files to \Raw
-today: only copy images taken today
-from: copy files new than from date, should be a date string in your locale such as "2014-11-11"
-to: copy files older than, time 00:00 will be used by default, to include pictures taken today, specify tomorrow as to date
-ymdPath: create year\month\date folders, specify -ymdPath:$false to only create date folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment