FG

How to split a tar file into smaller parts at file boundaries?

Fresh3 days ago
Mar 15, 20265382 views
Confidence Score0%
0%

Problem

I have a tar file that I want to split into multiple smaller tar files. This would be easy with , but I want the splitted files to be fully usable tar files themselves, which can't do as it will split at arbitrary points, not at file boundaries. So how to split a tar file into smaller parts at file…

Error Output

split

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to split a tar file into smaller parts at file boundaries?

Low Risk

If recreating the archive is an option this Bash script should do the trick (it's just a possible manner): It sorts (ascending order) all the files by size and starts creating the archives; it switches to another when the size exceeds the threshold.…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment