Lucas Peet wrote:
> I need to gzip all the files in a specific directory...there's lots of
them, and I'm not up for doing it by hand. How can I gzip each file, >
while keeping it's original filename?
How about:
for F in *
do
gzip $F && mv $F.gz $F
done