DragonFly On-Line Manual Pages
IMPORT-PICTURES(1) import-pictures IMPORT-PICTURES(1)
NAME
import-pictures - copy/move pictures from a directory
SYNOPSIS
import-pictures [options]
DESCRIPTION
import-pictures copies or moves pictures from one directory (for
example from a mounted camera) to another directory. You can choose
date ranges from within to copy the images. For example you can just
choose the pictures from one day of the event in one directory and
after that you can move the other day into another directory.
OPTIONS
-h, --help
Prints out a brief help
-d, --debug
Enable additional debug informations
-m, --move
Move pictures instead of copying
-x, --exif
Use exif metadata as data instead of creation date of the file
-f, --filetypes "filetypes" (default: jpg,nef)
Comma separated list of file extensions to work on (default jpg and
nef)
-o, --origin "origindir"
From which directory pictures should be copied.
-t, --to "targetdir"
Where to copy the pictures to. If targetdir does not exist it will
be created.
-s, --start-date "date"
From which date images should get copied. You can use relative
dates as used in the date command.
-e, --end-date "date"
Until which date images should get copied. You can use relative
dates as used in the date command.
-i, --start-num "startnumber"
Starting number for the _COUNTER_ template
-r, --rotate
Use exifautotran to rotate the pictures automatically
--simulate
Don't do anything, just print out what would happen.
-T, --template "templatestring"
You can rename files according to a simple template string.
Currently the following template strings are supported:
_COUNTER_
This is a counter which gets incremented for every picture
_DAY_, _MONTH_, _YEAR, _HOUR_, _MINUTE_, _SEC_
Will be replaced by the according date strings.
NOTE: Don't add a file extension the templat or you will end with
doubled extensions.
For example 'foobar-_YEAR__MONTH__DAY_-_COUNTER_' results in
filenames like foobar-20060916-44.nef
EXAMPLES
Copy the pictures from the last week up to now based on their exif tag
and rename them to last_week-YearMonthDay-Counter.suffix
% import-pictures --exif --start-date 'one week ago' --origin /mnt/cam/DCIM/
--to Bilder/Last_Week --template 'last_week-_YEAR__MONTH__DAY_-_COUNTER_'
AUTHOR
Alexander Wirt <formorer@formorer.de>
COPYRIGHT
Copyright 2006 Alexander Wirt <formorer@formorer.de>
This program is licensed under the GNU General Public License v2.
You may fold, spindle, and mutilate this software under the terms of the GPL.
perl v5.20.3 2015-10-07 IMPORT-PICTURES(1)