![]() ![]() ![]() Employing cat is the most efficient and reliable method of performing a joining operation. How to Join Tar Files After SplittingĪfter successfully splitting tar files or any large file in Linux, you can join the files using the cat command. In this last example, we do not have to specify an archive name as you have noticed, simply use a - sign. $ split -b 200M "ISO-archive.part"Įxample 3: In this instance, we can use a pipe to connect the output of the tar command to split as follows: $ tar -cvzf - wget/* | split -b 150M - "downloads-part"Ĭreate and Split Tar Archive File into PartsĬonfirm the files: $ ls -lh downloads-parta* Then follow the same steps in example 1 above to split the archive file into small bits of size 200MB. $ tar -cvzf linuxmint-18-cinnamon-64bit.iso Note: In the split command above, the option -b is used to specify the size of each block and the "" is the prefix in the name of each block file created after splitting.Įxample 2: Similar to the case above, here, we can create an archive file of a Linux Mint ISO image file. Then using the split utility, we can break the 2 archive file into small blocks each of size 10MB as follows: $ split -b 10M 2 ""Īs you can see from the output of the commands above, the tar archive file has been split to four parts. ![]() To confirm that out archive file has been created and also check its size, we can use ls command: $ ls -lh 2 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |