I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-01-25 21:56:00-08 by bv
Support for MOV, TGA, and other non EXIF files.

Phil,

IF the EXIFTool can read and set the normal DOS file attributes such as directory, filename, FileModifyDate, Then I can use it to rename and move Non EXIF files the same way I do for the EXIF files. When I try, I get the typical "File Type Not Supported".

I wish you had a plain file switch.

Currently I created this windows batch file to rename and move my MOV files:

@echo off Rem Change Filenames and move to date based directory. Rem Run from Working / Source Directory, will perform the following Rem Make archive and new working folders/directories Rem copies original file to new filename format in the working folder Rem moves the original file to the archive folder Rem set Ext=-ext *.mov set Ext= Rem set files=-r .\ * Rem set files=*.avi *.thm *.mov set files=*.mov set targetDir=Q:\Photos set origDir=F:\Photos\Original set OutFile=Rename-avi.cmd Echo @Echo off >%OutFile% echo Rem Build MakeDir Statements to make sure directory exists >>%OutFile% exiftool -q -S -s -d "%targetDir%\%%Y_%%m_%%d" -p "mkdir $CreateDate" %Ext% %files% >>%OutFile% exiftool -q -S -s -d "%origDir%\%%Y_%%m_%%d" -p "mkdir $CreateDate" %Ext% %files% >>%OutFile% Echo Rem Build copy Statements for renamed files >>%OutFile% exiftool -q -S -s -d "%targetDir%\%%Y_%%m_%%d\%%Y-%%m%%d-%%H%%M%%S_" -p "copy $filename $CreateDate +${filename}" %Ext% %files% >>%OutFile% Rem exiftool -q -S -s -d "%origDir%\%%Y_%%m_%%d\%%Y-%%m%%d-%%H%%M%%S_" -p "copy $filename $CreateDa +te${filename}" %Ext% %files% >>%OutFile% Echo Rem Build move Statements for Original files >>%OutFile% exiftool -q -S -s -d "%origDir%\%%Y_%%m_%%d" -p "move $filename $CreateDate" %Ext% %files% >>%OutFi +le% goto Exit :Exit
Direct Responses: 6940 | Write a response
Posted on 2008-01-26 00:55:06-08 by exiftool in response to 6936
Re: Support for MOV, TGA, and other non EXIF files.
Exiftool can be used to read/write "pseudo" tags to unrecognized file types, but it seems that I have overlooked this feature when copying tags. I will fix this in the next release. I assume you want to do something like this:

exiftool -d FMT "-filename<filemodifydate" ANYFILE

which doesn't currently work, although the following commands do:

exiftool -d FMT -filemodifydate ANYFILE exiftool -filename=NEWNAME ANYFILE

- Phil
Direct Responses: Write a response