1 # Use folders which match on \\.gz$ or \\.bz2$ as [gb]zipped folders:
2 open-hook \\.gz$ "gzip -cd '%f' > '%t'"
3 close-hook \\.gz$ "gzip -c '%t' > '%f'"
4 append-hook \\.gz$ "gzip -c '%t' >> '%f'"
5 open-hook \\.bz2$ "bzip2 -cd '%f' > '%t'"
6 close-hook \\.bz2$ "bzip2 -c '%t' > '%f'"
7 append-hook \\.bz2$ "bzip2 -c '%t' >> '%f'"