ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:53:57 AM

Title: input to exiftool
Post by: Archive on May 12, 2010, 08:53:57 AM
[Originally posted by jimhudspeth on 2006-11-10 21:14:50-08]

how do you stop exiftool and add something to the command line and restart it?
Title: Re: input to exiftool
Post by: Archive on May 12, 2010, 08:53:57 AM
[Originally posted by exiftool on 2006-11-10 22:06:16-08]

This is a rather odd question, and more of a
question about shell features rather than ExifTool
(the way I interpret it), but here goes:

With most terminals you can type CTRL-C
to stop the the current command from executing,
then up-arrow will recall the previous command
line, which you can modify then press RETURN
again to run the new command.

Is this what you meant?
Title: Re: input to exiftool
Post by: Archive on May 12, 2010, 08:53:57 AM
[Originally posted by jimhudspeth on 2006-11-11 07:48:40-08]

I am trying to start exiftool from a batch file and would like to be able to tell it what file to read.
Title: Re: input to exiftool
Post by: Archive on May 12, 2010, 08:53:57 AM
[Originally posted by exiftool on 2006-11-11 12:03:58-08]

I still don't think I understand the problem, and I don't know
what type of system you are using so I can't help with the
batch file commands, but all you have to do is execute a
new 'exiftool' command for each file you want to read.
Title: Re: input to exiftool
Post by: Archive on May 12, 2010, 08:53:57 AM
[Originally posted by jimhudspeth on 2006-11-12 07:27:40-08]

Ok, I am trying to avoid all the typing when I want to look at 10 or 15 files out of 200. The system is a XP 3.0g Ghz, 3GB ram, 380 GB storage. I would like to type a batch file short name and have it ask for the filename. Then I enter the file name and it continues and makes a txt file with the same name. Thanks for the patience.
Title: Re: input to exiftool
Post by: Archive on May 12, 2010, 08:53:57 AM
[Originally posted by exiftool on 2006-11-12 12:29:45-08]

Thanks for providing more details.  Unfortunately I'm not very
familiar with Windows batch files, but what you want to do can
be done without a batch file:

1) Create a text file containing the names of all the files you
want to process.  One filename per line.  Call this file, say,
"files.txt".

2) Run 'exiftool' with the following command

Code:
exiftool -@ files.txt -w txt

Then exiftool will create an output file for each filename in
"files.txt", with the same name but a ".txt" extension.

With technique, it may be possible for you to semi-automate the
generation of "files.txt" to save you even more typing.

- Phil