1 |
[2021-09-26 11:57] Peter Humphrey <peter@××××××××××××.uk> |
2 |
> part text/plain 382 |
3 |
> Hello list, |
4 |
Hi, |
5 |
|
6 |
> I have an external USB-3 drive with various system backups. There are 350 .tar |
7 |
> files (not .tar.gz etc.), amounting to 2.5TB. I was sure I wouldn't need to |
8 |
> compress them, so I didn't, but now I think I'm going to have to. Is there a |
9 |
> reasonably efficient way to do this? I have 500GB spare space on /dev/sda, and |
10 |
> the machine runs constantly. |
11 |
Pick your favorite of gzip, bzip2, xz or lzip (I recommend lzip) and |
12 |
then: |
13 |
mount USB-3 /mnt; cd /mnt; lzip * |
14 |
|
15 |
The archiver you chose will compress the file and add the appropriate |
16 |
extension all on its own and tar will use that (and the file magic) to |
17 |
find the appropriate decompresser when you want to extract files later |
18 |
(you can use `tar tf' to test if you want). |
19 |
|
20 |
-- |
21 |
Simon Thelen |