Jump to content

Using Command Line How To Get A Zip File Info


Recommended Posts

Posted

naa deggaraoka zip file undi daantlo pdfs unnai how do i get the info of those files using a command line code??

 

please telsinollu cheppi punyam kattukondi.

Posted

naak telsi zip file loki tongi susi contents list chese command ledu..unzip first and then list..kaavalante malla zip cheskovachu

Posted

Comman line lo jar xvf zipfile name appudu extract avutundhi ledha jar tvf ante contents view cheyochu

Posted

naak telsi zip file loki tongi susi contents list chese command ledu..unzip first and then list..kaavalante malla zip cheskovachu

 

 

dude....he is asking in linux. not in windows....in linux there is commond line tool where you need commands to list the contents of zip file...but i dont know the commands...........nee chedugudu.

 

Brahmi-8.gif

Posted

naak telsi zip file loki tongi susi contents list chese command ledu..unzip first and then list..kaavalante malla zip cheskovachu

 

either which ways mayya etla work aithado cheppu

 

 

windows or unix???

 windows

Posted

windows lo native option ledhu .... u can use compact command but that only display highlevel info about files or u can zip the files ......

 

install 7zip .... that also add command line options  , you can display content inside zip using that -- command for this is   7z l zip_file.zip

Posted

or there will be another simple solution is , just write a simple java class with main method .... use Zipfile.entries() method inside the class to display content for given zip file.... and make it runnable jar ... use  java -jar your_jar.jar command with zip file as parameter to display contents 

Posted

naa deggaraoka zip file undi daantlo pdfs unnai how do i get the info of those files using a command line code??

 

please telsinollu cheppi punyam kattukondi.

 

 

tar-ztvf <filename>

×
×
  • Create New...