CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
List files in *.par file

 



Master_Sergius
Novice

Aug 28, 2018, 3:22 AM

Post #1 of 2 (584 views)
List files in *.par file Can't Post

Hello, I got one file *.par which I should re-pack. No documentation is provided. I only know that it packed from several files from one certain repository, but can't see what are these exact files.
All utilities (parchive, par2, etc.) have only options to create, verify or repair. And no listing or something like that.
So, my question is - how to see what's inside *.par file (on Linux or FreeBSD if it's matter)?


Zhris
Enthusiast

Aug 28, 2018, 1:44 PM

Post #2 of 2 (573 views)
Re: [Master_Sergius] List files in *.par file [In reply to] Can't Post

Hi,

Take a look at PAR. I've used it to create par packages, and executables, via PAR::Packer's pp utility. But PAR::par_handle takes a par file and returns an Archive::Zip object which in turn you can use to read its contents.

Chris

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives