public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Simon Thelen" <gentoo-user@c-14.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to compress lots of tarballs
Date: Sun, 26 Sep 2021 13:36:14 +0200	[thread overview]
Message-ID: <20210926113621.EC233E09AE@pigeon.gentoo.org> (raw)
In-Reply-To: <5513654.DvuYhMxLoT@wstn>

[2021-09-26 11:57] Peter Humphrey <peter@prh.myzen.co.uk>
> part       text/plain                 382
> Hello list,
Hi,

> I have an external USB-3 drive with various system backups. There are 350 .tar
> files (not .tar.gz etc.), amounting to 2.5TB. I was sure I wouldn't need to
> compress them, so I didn't, but now I think I'm going to have to. Is there a
> reasonably efficient way to do this? I have 500GB spare space on /dev/sda, and
> the machine runs constantly.
Pick your favorite of gzip, bzip2, xz or lzip (I recommend lzip) and
then:
mount USB-3 /mnt; cd /mnt; lzip *

The archiver you chose will compress the file and add the appropriate
extension all on its own and tar will use that (and the file magic) to
find the appropriate decompresser when you want to extract files later
(you can use `tar tf' to test if you want).

--
Simon Thelen


  reply	other threads:[~2021-09-26 11:36 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-26 10:57 [gentoo-user] How to compress lots of tarballs Peter Humphrey
2021-09-26 11:36 ` Simon Thelen [this message]
     [not found] ` <20210926113622.E8352E09BE@pigeon.gentoo.org>
2021-09-26 12:23   ` Ramon Fischer
2021-09-26 12:25     ` Ramon Fischer
2021-09-26 15:38       ` Peter Humphrey
2021-09-26 17:36         ` antlists
2021-09-28 17:45     ` Laurence Perkins
2021-09-27  1:39 ` Adam Carter
2021-09-27 13:30   ` Peter Humphrey
2021-09-27 14:13     ` Peter Humphrey
2021-09-28 17:43       ` Laurence Perkins
2021-09-29  8:27         ` Peter Humphrey
2021-09-29 15:37           ` Rich Freeman
2021-09-29 20:04             ` Dale
2021-09-29 20:27               ` Laurence Perkins
2021-09-29 20:58                 ` Dale
2021-09-29 21:48                   ` Wols Lists
2021-09-29 23:17                     ` Rich Freeman
2021-09-30 17:19                       ` antlists
2021-10-01 22:31               ` Frank Steinmetzger
2021-09-28 11:38     ` Rich Freeman
2021-09-28 13:02       ` Peter Humphrey
2021-09-28 11:19 ` Peter Humphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210926113621.EC233E09AE@pigeon.gentoo.org \
    --to=gentoo-user@c-14.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox