News:

If this site goes down it is because of the crappy DreamHost web hosting: They will disable your "unlimited traffic" web server if a single bot hammers the site with a moderate load.  If necessary, an alternate ExifTool forum page is available at https://sourceforge.net/p/exiftool/discussion/

Main Menu

Warning: Sec too small msg when trying to update dates

Started by Simon Truby, April 29, 2012, 07:12:41 PM

Previous topic - Next topic

dmtoddma

Phil,

I'm at a point where I need this fix. Any chance you could take a look at it soon?

Thanks.

David

Phil Harvey

Hi David,

Thanks for the reminder.

OK, I guess I have to fire up the Windows box and run some tests.  :(

I just looked at the code for the stub, and it looks like it should handle quoting properly, so I'm a bit surprised that you are having this problem.  However, I'll test it out (maybe tonight) and see what happens.

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

dmtoddma

#17
Thanks. I think the problem might be specific to the space character. Other characters that need to be quoted, such as the redirection character, don't have a problem.

Edit:

I've added support for this notion by re-reading your FAQ on dates, and trying the following:

-datetimeoriginal=19660101000000

It works fine.

Similarly, the following command works to sequence files dated before 1970 as long as I don't include the year with the necessary space before the h:m:s string:

-exif:datetimeoriginal+<"00:00:$filesequence"

Realizing this actually gives me workaround until we figure out the problem I'm having with spaces and the stub.

Second Edit:

NOTE: I'm using these tags in exiftool GUI, which somehow seems to handle the spaces in the filenames with the stub. When I use these tags in a command line with the stub, I still get the errors from spaces in paths or filenames.

David

Phil Harvey

Hi David,

I finally fired up the PC and did some testing... I could reproduce the problem, and I've patched the stub and uploaded a new version.

See this post for the new version.

Thanks for reporting this.  Sorry about the delay in getting this fixed.

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

dmtoddma