decompress a bunch of .gz files
Adrian Eyre
a.eyre at optichrome.com
Thu Nov 25 09:05:02 EST 1999
> 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
Dos:
@echo off
for %%file in (*.gz) do gunzip %%file
--------------------------------------------
Adrian Eyre <mailto:a.eyre at optichrome.com>
Optichrome Computer Solutions Ltd
Maybury Road, Woking, Surrey, GU21 5HX, UK
Tel: +44 1483 740 233 Fax: +44 1483 760 644
http://www.optichrome.com
--------------------------------------------
More information about the Python-list
mailing list