Initial implementation of Allowing Unknown Images directory naming #141
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Initial implementation of #74
Allows user to specify where Unknown date files go via a command line parameter. Parameter
--no-date-dir
overrides the default of "unknown".Usage:
phockup INPUTDIR OUTPUTDIR --no-date-dir=UNKNOWNDIR
Example usage:
phockup ~/Pictures/camera ~/Pictures/sorted --no-date-dir=Miscellaneous
This would put all files without valid EXIF date information in the
~/Pictures/sorted/Miscellaneous
directory.Also included:
test_no_exif_directory
for alternativeunknown
directory name testing.DEFAULT_DIR_FORMAT = ['%Y', '%m', '%d']
DEFAULT_NO_DATE_DIRECTORY = "unknown"
DEFAULT_DIR_FORMAT
constant as the fallback case for the--d\--date
command line parameter