Here you go. I had to use a
.txt extension, so rename it to something pretty.
You'll need to install
Image::ExifTool. If you're not familiar with that, use
perl -MCPAN -e install Image::ExifTool and then go get a cup of coffee. If your installation has never had CPAN configured, there'll be about a dozen questions to answer first. Most can be defaulted by hitting Enter, but it's a good idea to pick a CPAN mirror geographically near you. And if you don't install it as root, you can only configure the module for your own use. I don't recall if the module requires a compiler, but I don't think it does, although it
does require a
make command.
I just tested it by trying:
Code:
./cleanup.pl t Misc/*.jpg
And it correctly stripped off the
Misc/ from the input filename and then dumped the result into the
./t directory.