Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by dwm042 (Priest)
on Feb 19, 2009 at 17:08 UTC ( [id://745127]=note: print w/replies, xml ) Need Help??


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

On the Unix command line, I tend to use 'file':

file *.zip applepie.zip: ZIP archive keylime.zip: ZIP archive

Which is pretty much the same technique (relying on a magic number) as moritz and Bloodnok are advocating.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-19 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found