inman has asked for the wisdom of the Perl Monks concerning the following question:
I want to iterate over the file system (using our old friend File::Find) and change the names of the files back to their more conventional extensions (or at least report on them). My problem is that I need to take the individual files and determine the mime-type from their content. Has anybody tried this before? What did you use?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Discvering the MIME type of a document from its content
by davorg (Chancellor) on Nov 18, 2005 at 12:28 UTC | |
|
Re: Discvering the MIME type of a document from its content
by Corion (Patriarch) on Nov 18, 2005 at 12:30 UTC |