Added verbose output for dry-run mode.
This commit is contained in:
parent
83977b50bb
commit
f43116abec
10
exif_rad.py
10
exif_rad.py
@ -52,10 +52,14 @@ args = parser.parse_args()
|
||||
localtz = pytz.timezone(args.timezone)
|
||||
|
||||
# Inform the user about what is going to happen
|
||||
if args.outdir == ".":
|
||||
print('Modifying photos in place (overwrite)')
|
||||
if args.dry is not None:
|
||||
if args.outdir == ".":
|
||||
print('Modifying photos in place (overwrite)')
|
||||
else:
|
||||
print('Modifying photos in', str(args.outdir), '(copy)')
|
||||
else:
|
||||
print('Modifying photos in', str(args.outdir), '(copy)')
|
||||
print('Not modifying anything. Just print what would happen without --dry')
|
||||
|
||||
# Print table header
|
||||
print('{:<15} {:<25} {:<22}'.format('filename', 'date / time', 'Exif UserComment'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user