Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

Reading Zip, GZip

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 06-09-2007   #1 (permalink)
Rob Kenny
Guest


 

Reading Zip, GZip

I have found the Community Extensions to create zip and gzip files but I can not find anything to
read or extract files from an archive.

I have a large set of gz files that I need to expand to a new location, does anyone know of any
other scripts out there that I may have missed?

I did start looking at System.IO.Compression, but could not get anything to work in PS.

Many Thanks

Rob Kenny

My System SpecsSystem Spec
Old 06-09-2007   #2 (permalink)
Matthias Tacke
Guest


 

Re: Reading Zip, GZip

Rob Kenny wrote:
> I have found the Community Extensions to create zip and gzip files but I
> can not find anything to read or extract files from an archive.
>
> I have a large set of gz files that I need to expand to a new location,
> does anyone know of any other scripts out there that I may have missed?
>
> I did start looking at System.IO.Compression, but could not get anything
> to work in PS.
>

A short google for: powershell gunzip
got me here:
<http://www.codeplex.com/PowerShellCX/WorkItem/View.aspx?WorkItemId=7776>

HTH

--
Matthias
Tacke
My System SpecsSystem Spec
Old 06-09-2007   #3 (permalink)
Rob Kenny
Guest


 

Re: Reading Zip, GZip

Matthias Tacke wrote:
> Rob Kenny wrote:
>> I have found the Community Extensions to create zip and gzip files but
>> I can not find anything to read or extract files from an archive.
>>
>> I have a large set of gz files that I need to expand to a new
>> location, does anyone know of any other scripts out there that I may
>> have missed?
>>
>> I did start looking at System.IO.Compression, but could not get
>> anything to work in PS.
>>

> A short google for: powershell gunzip
> got me here:
> <http://www.codeplex.com/PowerShellCX/WorkItem/View.aspx?WorkItemId=7776>
>
> HTH
>


I got there as well, it is proposed for the next version

Rob Kenny
My System SpecsSystem Spec
Old 06-10-2007   #4 (permalink)
Oisin Grehan
Guest


 

Re: Reading Zip, GZip

On Jun 9, 11:57 am, Rob Kenny <r...@otherniceman.net> wrote:
> Matthias Tacke wrote:
> > Rob Kenny wrote:
> >> I have found the Community Extensions to create zip and gzip files but
> >> I can not find anything to read or extract files from an archive.

>
> >> I have a large set of gz files that I need to expand to a new
> >> location, does anyone know of any other scripts out there that I may
> >> have missed?

>
> >> I did start looking at System.IO.Compression, but could not get
> >> anything to work in PS.

>
> > A short google for: powershell gunzip
> > got me here:
> > <http://www.codeplex.com/PowerShellCX/WorkItem/View.aspx?WorkItemId=7776>

>
> > HTH

>
> I got there as well, it is proposed for the next version
>
> Rob Kenny- Hide quoted text -
>
> - Show quoted text -


Hi,

As the person who wrote the 1.1 archive creation cmdlets, I'm also
writing the archive readers for 1.2; we didn't really have the time to
get full read/write ready, so I chose write abilities for 1.1; I
figured this would be more useful than read, especially for admins.

- Oisin

My System SpecsSystem Spec
Old 06-11-2007   #5 (permalink)
Lance
Guest


 

Re: Reading Zip, GZip

On Jun 9, 11:57 am, Rob Kenny <r...@otherniceman.net> wrote:
> Matthias Tacke wrote:
> > Rob Kenny wrote:
> >> I have found the Community Extensions to create zip and gzip files but
> >> I can not find anything to read or extract files from an archive.

>
> >> I have a large set of gz files that I need to expand to a new
> >> location, does anyone know of any other scripts out there that I may
> >> have missed?

>
> >> I did start looking at System.IO.Compression, but could not get
> >> anything to work in PS.

>
> > A short google for: powershell gunzip
> > got me here:
> > <http://www.codeplex.com/PowerShellCX/WorkItem/View.aspx?WorkItemId=7776>

>
> > HTH

>
> I got there as well, it is proposed for the next version
>
> Rob Kenny- Hide quoted text -
>
> - Show quoted text -


This capability is included in NetCmdlets: http://www.nsoftware.com/powershell/.

Lance
http://geekswithblogs.net/Lance/

My System SpecsSystem Spec
Old 06-11-2007   #6 (permalink)
Lance
Guest


 

Re: Reading Zip, GZip

> This capability is included in NetCmdlets:http://www.nsoftware.com/powershell/.

You know, I'm sorry, I suppose I could have been a bit more helpful an
actually posted an example, huh? Here you go:

1. To extract a gzip file into a specific output location:
read-zip C:\testing\test.gz -output C:\testing\output\ -format gzip

2. To extract a regular zip file (in this case the default -format is
used (zip)):
read-zip C:\testing\test.zip -output C:\testing\zipoutput\

jar and tar formats are also supported, and the write-zip cmdlet can
create self extracting archives too (-format zipsfx)

Lance
http://geekswithblogs.net/Lance/

My System SpecsSystem Spec
Old 06-13-2007   #7 (permalink)
The Other Nice Man
Guest


 

Re: Reading Zip, GZip

On 11 Jun, 17:31, Lance <lmrob...@gmail.com> wrote:
> > This capability is included in NetCmdlets:http://www.nsoftware.com/powershell/.

>
> You know, I'm sorry, I suppose I could have been a bit more helpful an
> actually posted an example, huh? Here you go:
>
> 1. To extract a gzip file into a specific output location:
> read-zip C:\testing\test.gz -output C:\testing\output\ -format gzip
>
> 2. To extract a regular zip file (in this case the default -format is
> used (zip)):
> read-zip C:\testing\test.zip -output C:\testing\zipoutput\
>
> jar and tar formats are also supported, and the write-zip cmdlet can
> create self extracting archives too (-format zipsfx)
>
> Lancehttp://geekswithblogs.net/Lance/


Thanks

I had found the NetCmdlets as well, I know there is a trial version,
but I know that at the moment I won't be able to get authorisation for
a full copy so I feel bad able using the trial version for real one
off business use. Does that make me a strange person?

My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
GZip Compression :( Carlo Razzeto .NET General 9 03-28-2008 08:41 AM
Working with Gzip in the same way as WinZip Ger F. Vista General 1 01-29-2008 12:40 PM
reading dvd perry Vista music pictures video 1 01-04-2008 07:35 AM
reading CD-R species8350 Vista General 1 04-10-2007 05:03 PM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51