SIGINT handling and temporary files

Started by vladak, July 04, 2012, 03:31:35 AM

Previous topic - Next topic

vladak

It seems that exiftool when interrupted with SIGINT signal (Ctrl-C) is leaving temporary files around, e.g. DSC_2498.JPG_exiftool_tmp in my case when I interrupted processing of DSC_2498.JPG. Is this something that should be handled more gracefully ?

Phil Harvey

ExifTool should not leave temporary files around.  On SIGINT, it erases temporary files before exiting.  I know this mechanism works on Mac/Linux, but I don't recall testing this on Windows.  If it doesn't work for you, give me the exact command you are using, and tell me what ExifTool version and system you are running.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).