decompress a bunch of .gz files

Charles G Waldman cgw at fnal.gov
Thu Nov 25 09:33:32 EST 1999


Adrian Eyre writes:
 > > I'm searching for a way to decompress all .gz
 > > files in a directory automatically.
 > 
 > Unix:
 > 
 > #!/bin/sh
 > for file in *.gz; do gunzip $file; done

Or just:
   
 gunzip *.gz






More information about the Python-list mailing list