Ensure your destination drive has enough free space to hold the resulting file, which could still be several dozen gigabytes depending on how well the logs compress.
Ensure rar.exe is in your system path. Run:
Right-click the selected files and choose Add to archive... from the menu. pass80gbfromlogs.rar
You must have the rar package installed (e.g., sudo apt install rar ). Run: rar a -p pass80gbfromlogs.rar /path/to/logs/ Use code with caution. Copied to clipboard The -a switch adds files to the archive.
(Optional) Check if you want to hide the names of the log files until the password is entered. Compression Settings: Select RAR as the archive format. Ensure your destination drive has enough free space
For large archives, it is highly recommended to add a Recovery Record (the -rr switch). This allows you to repair the archive if it gets slightly corrupted during a long download or transfer. RAR console version User's Manual - GitHub Gist
The -p switch prompts you for a password (or you can use -pPASSWORD to include it in the command). Important Considerations for 80GB Archives from the menu
rar a -p"yourpassword" pass80gbfromlogs.rar C:\path\to\your\logs Use code with caution. Copied to clipboard