I have a tar.gz file which contains a few million files in it. I want to divide the contents without decompressing it due to a cap on the number of files. Is there a way for me to divide a tar/tar.gz file in multiple tar/tar.gz.
if it is not possible, can it be done in python instead?
1st post let me know if I did something wrong.
Edit: I don't want to put it back together. I want to be able to work on each 'splitted' files.
Best Answer
You can split it with
split
, but the individual pieces won't make any sense until put back together. If you want to split it into self-contained archives, you will need to decompress it.