Verdelen van een bestand in een of meer bestanden

Split

In dit voorbeeld volumes van 1 GB met als bestandsnaam archiefnaamaa, archiefnaamab, archiefnaamac, etc.

split -b 1024m bestandsnaam.ext archiefnaam
-b byte_count[k|m] Create smaller files byte_count bytes in length. If 'k' is appended to the number, the file is split into byte_count kilobyte pieces. If 'm' is appended to the number, the file is split into byte_count megabyte pieces


Samenvoegen :

cat archiefnaam* > archiefnaam.tar.gz

Rar

In dit voorbeeld volumes van 1 GB :

rar a -m5 -v1024m archiefnaam bestandsnaam.ext
a Add files to archive
m<0..5> Set compression level (0-store...3-default...5-maximal)
v<size>[k,b] Create volumes with size=<size>*1000 [*1024, *1]


Download RAR : RARLAB

Zie ook : tar : Inpakken + Uitpakken