Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: How to recognize Word and XLS files

by Anonymous Monk
on Mar 06, 2012 at 10:12 UTC ( [id://958052]=note: print w/replies, xml ) Need Help??


in reply to Re: How to recognize Word and XLS files
in thread How to recognize Word and XLS files

:) you guys make me laugh :)

file comes with cygwin/mingw

mimetype is pure-perl but it does rely on shared-mime-info, for win32 type platforms you can get by with http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/shared-mime-info-0.30.zip

$ mimetype junk.doc junk.doc: application/msword $ mimetype junk.xls junk.xls: application/vnd.ms-excel $ mimetype junk.xlsx junk.xlsx: application/zip $ mimetype junk.docx junk.xlsx: application/zip

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://958052]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 12:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found