Rename pictures in the command-line interface
freebsd-questions-local at be-well.ilk.org
Mon Jan 4 21:14:21 UTC 2010
Dário "P." <fbsd.questions.list at gmail.com> writes:
> Seg, 2010-01-04 às 20:59 +0100, Polytropon escreveu:
>> As you see: I have a reason to believe that I should better
>> write a new script that takes such things into mind and maybe
>> offer reverse renumbering, overwrite protection and a better
>> selection which files (instead of hardcoded *) to process.
> I think I gonna use the Nathan's Perl script, it did the job without any
> problem (at least for now :D).
You might want to look at the "jhead" port.
It uses the date the picture was taken for the new name, so it's both
stable (i.e., if you run it again you get the same results) and sorts
into proper order.
Lowell Gilbert, embedded/networking software engineer, Boston area
More information about the freebsd-questions