-
Notifications
You must be signed in to change notification settings - Fork 10
Command Line Arguments
[python|python3] sortphotos.py src_dir dest_dir [-r|--recursive] [-c|--copy] [-s|--silent] [-t|--test] [-z|--disable-time-zone-adjust] [--sort] [--rename] [--ignore-file-types] [--keep-duplicates] [--day-begins] [--ignore-groups] [--ignore-tags] [--use-only-groups] [--use-only-tags] [--prioritize-groups] [--prioritize-tags] [--rename-with-camera-model] [-w|--show-warnings] [-x|--src-file-regex] [-e|--src-file-extension]
[src_dir]
source directory
[dest_dir]
destination directory
[-r,--recursive]
search src_dir recursively
[-c,--copy]
copy files instead of move
[-s,--silent]
don't display parsing details.
[-t,--test]
run a test. files will not be moved/copied
instead you will just a list of would happen
[-z,--disable-time-zone-adjust]
disables time zone adjust
useful for devices that store local time + time zone instead of UTC + time zone
[--sort]
hour of day that new day begins (0-23),
defaults to 0 which corresponds to midnight. Useful for grouping pictures with previous day.
[--ignore-groups]
specify a restricted set of tags to search for date information
e.g., EXIF:CreateDate
[--prioritize-groups]
specify a prioritized set of groups to search for date information
e.g., EXIF File
[--prioritize-tags]
specify a prioritized set of tags to search for date information
e.g., EXIF:CreateDate EXIF:ModifyDate
[--rename-with-camera-model]
source file regular expression
[-w,--show-warnings]
display warnings
[-x,--src-file-regex]
source file regular expression
[-e,--src-file-extension]
source file format (comma seperated)