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.
No, it’s way simpler than that: https://gist.github.com/chabala/22ed01d7acf9ee0de9e3d867133f83fb
This worked fine for me. Thank you!