![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to determine what type of backup I've on the tape | fraydey | UNIX for Dummies Questions & Answers | 2 | 05-12-2008 04:52 AM |
| Using 'stat' to determine file system type (with Zenity) | mdpalow | Shell Programming and Scripting | 0 | 12-19-2007 09:49 PM |
| use perl to get file type ? | the_learner | Shell Programming and Scripting | 1 | 10-26-2007 07:04 PM |
| Human readable type vs MIME type detection using file | spauldingsmails | Shell Programming and Scripting | 0 | 03-21-2007 08:43 PM |
| Command to determine Tape Type | Surdeymon | AIX | 4 | 06-10-2005 10:19 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
determine file type with perl
Hello
i will like to know please how can i determine file type inside perl script not using the unix "file" program Thanks allot |
| Forum Sponsor | ||
|
|
|
|||
|
file uses magic numbers to decide what a file type is.
You can get file::type from: http://search.cpan.org/~pmison/File-...b/File/Type.pm Note that it is version 0.22, which usually indicates that it's a work in progress... |
|||
| Google The UNIX and Linux Forums |