HamNRye has asked for the wisdom of the Perl Monks concerning the following question:
Fellow Monks,
I am writing a script that we will use to verify that all of the files in a folder meet our naming conventions before being burned to a cd. One of our biggest problems is a large number of Mac users who place files on this server with no file extension. These files are a combination of Images, layout docs (.qxd, .indd), and text. What I am looking to do is be able to type the file from within perl so I can put a 3 letter extension on it.
I can use the "identify" command with imagemagick, but it does not handle the layout docs.
Anyone know where I can A) find a module that does this all for me, or B) know where I can find the information to roll my own.
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Magic Numbers
by artist (Parson) on May 07, 2003 at 15:55 UTC | |
|
Re: Using Magic Numbers
by kilinrax (Deacon) on May 07, 2003 at 15:59 UTC | |
by Abigail-II (Bishop) on May 07, 2003 at 19:31 UTC | |
by HamNRye (Monk) on May 07, 2003 at 16:08 UTC | |
by converter (Priest) on May 07, 2003 at 16:26 UTC | |
by HamNRye (Monk) on May 07, 2003 at 20:59 UTC |