I have a very large file ~ 1.7 TB that’s causing me some issues with its transfer over NFS.
I use 7z to split it into into multiple smaller files and then transfer them:
7za -v900g -mx0 a MY_BIG_FILE_SPLITTED.7z /MY_BIG_FILE
Where:
7za: is the 7zip executable
-v900g: the size of the splitted files, here it’s 900 GB, you can alternatively use g, m, k or b
-mx0: Zero compression ratio, in other words: copy mode
a: destination file
Note: To install 7zip on RedHat, just use “yum install p7zip”
Enjoy!
Sources:
- https://www.dotnetperls.com/7-zip-examples
- https://superuser.com/questions/184557/how-to-create-multipart-7zip-file-in-linux