so i just tried to guess wether how to gzip a directory ... i now have a directory with thousands of files as before... except that they are all gzipped individually 😅

@milan gzip only does individual files. Tar does multiple files but doesn't do compression. That's how we invented the gzipped tarball. (tar has a gzip flag)

tar zcf name.tar.gz directory/

z: gzip-compress the output
c: create archive (versus x:extract, t:test)
f: write to the named file instead of stdout


@milan Oh, and also by default gzip replaces the original file with the gzipped version which isn't always what you expect

Sign in to participate in the conversation

This instance is focused around the furry community, and is open to anyone interested in it. It's open to all fluffies and scalies ! ⚠️ We do not accept any form of sponsored content on our site. If you like meow, consider donating something via paypal or Liberapay