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)
|
localtz = pytz.timezone(args.timezone)
|
||||||
|
|
||||||
# Inform the user about what is going to happen
|
# Inform the user about what is going to happen
|
||||||
if args.outdir == ".":
|
if args.dry is not None:
|
||||||
print('Modifying photos in place (overwrite)')
|
if args.outdir == ".":
|
||||||
|
print('Modifying photos in place (overwrite)')
|
||||||
|
else:
|
||||||
|
print('Modifying photos in', str(args.outdir), '(copy)')
|
||||||
else:
|
else:
|
||||||
print('Modifying photos in', str(args.outdir), '(copy)')
|
print('Not modifying anything. Just print what would happen without --dry')
|
||||||
|
|
||||||
# Print table header
|
# Print table header
|
||||||
print('{:<15} {:<25} {:<22}'.format('filename', 'date / time', 'Exif UserComment'))
|
print('{:<15} {:<25} {:<22}'.format('filename', 'date / time', 'Exif UserComment'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue