Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to find out a compressed file inside a script ?

by balakrishnan (Monk)
on Feb 20, 2009 at 10:49 UTC ( #745328=note: print w/ replies, xml ) Need Help??


in reply to How to find out a compressed file inside a script ?



UPDATE : Finally i got it by,

perl -MFile::Type -le 'print File::Type->new->checktype_filename("text +.gz")'

Thanks to the monks.



Comment on Re: How to find out a compressed file inside a script ?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2015-08-30 17:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (350 votes), past polls