ExifTool Forum

ExifTool => Newbies => Topic started by: jgalea on March 18, 2021, 02:50:56 PM

Title: EXIFTOOL on Redhat 8.3
Post by: jgalea on March 18, 2021, 02:50:56 PM
I've got a problem that when I run exiftool on Redhat 8.3 the perl starts and pauses until a key is pressed. Any idea how to work around this? The perl version is:
perl -V:version
version='5.26.3';

This happens even on the most recent version of EXIFTOOL. 12.22

On Redhat 7.1 this wasn't a problem. It was running Perl 5.16.3
Title: Re: EXIFTOOL on Redhat 8.3
Post by: Phil Harvey on March 18, 2021, 03:09:37 PM
The difference must be your exiftool command.  If you run with no arguments, it will show the help text and pause between pages.  If you run anything else (eg. "exiftool -ver") it shouldn't pause.

- Phil
Title: Re: EXIFTOOL on Redhat 8.3
Post by: Alan Clifford on March 18, 2021, 03:40:56 PM
Quote from: Phil Harvey on March 18, 2021, 03:09:37 PM
... If you run with no arguments, it will show the help text and pause between pages. ....

- Phil

Does that mean

exiftool | less

won't work any more?

Or do the pauses allow you to go back like less?

Title: Re: EXIFTOOL on Redhat 8.3
Post by: jgalea on March 18, 2021, 04:04:27 PM
The main difference I see is that if I run exiftool without any options it pauses waiting for a key, then I press a key and get the help. It didn't do that in Redhat 7.1, however your right if I have any options at all, no pause. So this is actually not an issue. It seems I was impatient and thought it was waiting when it was actually working. Thanks Phil. Sorry for the red herring.
Title: Re: EXIFTOOL on Redhat 8.3
Post by: Phil Harvey on March 19, 2021, 06:56:54 AM
ExifTool uses the "perldoc" utility to do the paging for the help documentation if there are no arguments.  The "perldoc" utility must be different on Redhat 7.1.

- Phil
Title: Re: EXIFTOOL on Redhat 8.3
Post by: Alan Clifford on March 19, 2021, 08:36:12 AM
Quote from: Alan Clifford on March 18, 2021, 03:40:56 PM
Quote from: Phil Harvey on March 18, 2021, 03:09:37 PM
... If you run with no arguments, it will show the help text and pause between pages. ....

- Phil

Does that mean

exiftool | less

won't work any more?

Or do the pauses allow you to go back like less?


Oh dear, I should have checked first.  Sorry.