Answer the question
In order to leave comments, you need to log in
How to archive files with certain conditions on UBUNTU?
Good day to all, please tell me, I have the following task:
I need to archive a large amount of files on Ubuntu > 100GB, but I have the conditions for the archive.
Answer the question
In order to leave comments, you need to log in
install the rar package from the repository. a full-fledged console rar is packed in it, taken from the official site https://www.rarlab.com/download.htm or download from rarlab the latest release will be newer.
[email protected]:~$ lsb_release -d
Description: Ubuntu 20.04
[email protected]:~$ rar
RAR 5.50 Copyright (c) 1993-2017 Alexander Roshal 14 Jun 2017
Trial version Type 'rar -?' for help
At the same time, I don’t know what archiver can do this, but separately you can collect them from different utilities. The most difficult points are 2 and 3.
For example, parchive has point 3 , which is actually a separate utility for partitioning into volumes and adding information for recovery.
There are utilities (for example, rdfind) that create symbolic or hard links for identical files, and after that you can.
Those. pack the file with tar (it can link but does not pack), compress it with bzip, then split it into parchive volumes and all this through pipes at the same time, bypassing the intermediate storage of files on disk.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question