Monday, February 1, 2010

gzip files recursively

find . -type f -exec sh -c 'cat {} | gzip > {}.tmp; mv {}.tmp {}' \;

No comments:

Post a Comment