YouTube Google Takeout – how extract 001.tgz 002.tgz 003.tgz parts?

Recently (human error) lead to massive data loss on my side. I’m in process of rebuilding my archive. Youtube offer ability to download all uploaded videos to channel by using “Google Takeout”.

In my case it was result of multiple archives split-ed by tar gz.

I was looking for way of extracting them all at once but I was unable to do so – only first archive was extracted in compare to archive created by win-rar – You need only extract first part – rest are automatically recognised and used one-by-one.

Here is what I ended up with on my NAS server:

Solution was in SSH to nas server and executing command:

for file in *.tgz; do tar -zxf "$file"; done

Result of this code is single folder containing merged data from all parts.

One thought on “YouTube Google Takeout – how extract 001.tgz 002.tgz 003.tgz parts?

Leave a Reply

Your email address will not be published. Required fields are marked *