photo-stats

statistics processor for the terminal
git clone https://git.clttr.info/photo-stats.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 7f71a7de0532ed4a48f22b6cdb93957666779649
parent e0e9d2639cad4e5e8d062b8b84a8a40542ffed6a
Author: René Wagner <rwa@clttr.info>
Date:   Wed, 23 Jun 2021 16:27:50 +0200

be more robust on path parameter

Diffstat:
Mphosta | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phosta b/phosta @@ -157,7 +157,7 @@ sub populate my $extensions = ' -ext ' . join(' -ext ', split(/\,/, $opt_E)) .' '; my @aliases = getaliases(); - my $cmd = "exiftool -fast2 -r -m -f -p '\$filepath##\$make##\$model##\$lensmake##\$lens##\$lensmodel##\$focallength##\$focallengthin35mmformat##\$aperture##\$exposuretime##\$shutterspeed##\$iso##\$flash##\$datetimeoriginal' -d \"%Y-%m-%d %H:%M:%S\" " . $extensions . $opt_p; + my $cmd = "exiftool -fast2 -r -m -f -p '\$filepath##\$make##\$model##\$lensmake##\$lens##\$lensmodel##\$focallength##\$focallengthin35mmformat##\$aperture##\$exposuretime##\$shutterspeed##\$iso##\$flash##\$datetimeoriginal' -d \"%Y-%m-%d %H:%M:%S\" " . $extensions . "\"$opt_p\""; !$opt_v or say "### Exiftool command: $cmd"; my @lines = `$cmd`;