Comments on: How to Split Large ‘tar’ Archive into Multiple Files of Certain Size https://www.tecmint.com/split-large-tar-into-multiple-files-of-certain-size/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Tue, 03 Sep 2024 07:46:32 +0000 hourly 1 By: Naren Rajasingam https://www.tecmint.com/split-large-tar-into-multiple-files-of-certain-size/comment-page-1/#comment-1552790 Fri, 23 Jul 2021 01:27:32 +0000 http://www.tecmint.com/?p=21702#comment-1552790 In reply to Saikat.

You can split a potentially large tar file into multiple sub tar volumes using the tar -M -l -F switches.

  • -M = multi-volume mode.
  • -l = volume size limit (per volume file).
  • -F = script to switch out the current tar name to the next on in your sequence (eg you might have started with xyz.tar and when you get to the specified volume size limit, tar will call your script (-F). your script should mv that xyz.tar to something like xyzzy-001.tar and then return.

tar will create a new file called xyz.tar and file it to the volume limit and call your script again which, this time, should increment the count and mv the file to xyz-002 etc. at the end you might want to have a symlink pointing the first tar vol xyz.tar –> xyz-001.tar

hope this helps

]]>
By: Saikat https://www.tecmint.com/split-large-tar-into-multiple-files-of-certain-size/comment-page-1/#comment-1403758 Wed, 23 Dec 2020 11:56:22 +0000 http://www.tecmint.com/?p=21702#comment-1403758 Hello, I have a situation. Here, I need to split up the large file in such a way that each of the “part” files generated are valid tar archives. For example:- If I do “tar -xvf home.tar.bz2.parta” it should provide the valid output of the 10MB files captured by this part itself.

]]>
By: Andy M https://www.tecmint.com/split-large-tar-into-multiple-files-of-certain-size/comment-page-1/#comment-1331873 Tue, 05 May 2020 12:41:11 +0000 http://www.tecmint.com/?p=21702#comment-1331873 FYI if you’re on Mac, it like lower case units for the size of the split (ie. m instead of M or gb instead of GB). Otherwise, you get a nice “illegal byte count error

]]>
By: Harry Brown https://www.tecmint.com/split-large-tar-into-multiple-files-of-certain-size/comment-page-1/#comment-1260350 Thu, 03 Oct 2019 05:59:02 +0000 http://www.tecmint.com/?p=21702#comment-1260350 Hey, If any users want Split the large PST file then I suggested trying to use Outlook PST Splitter. This Splitter breaks the large PST files into small PST files by date, size, year, and folder according to the user’s needs.

This Software Splits the files without installing MS-Outlook. This Splitter support all the Window Version and Outlook Version. This splitter has also a free version which helps users can easily see the demo before the conversion.

]]>
By: Aaron Kili https://www.tecmint.com/split-large-tar-into-multiple-files-of-certain-size/comment-page-1/#comment-1089483 Wed, 02 Jan 2019 08:11:31 +0000 http://www.tecmint.com/?p=21702#comment-1089483 In reply to Reza.

@Reza

Thanks for the reporting this, we will cross check and correct the article as soon as possible. We truly appreciate your efforts.

]]>