💻 Software
How to create tar archive split into, or spanning, multiple files?
Fresh6 days ago
Mar 15, 202697119 viewsConfidence Score0%
0%
Problem
According to this page, one can let tar create a tar archive "split" into 100 Mb files: The problem is that this command will require you to interactively give a new filename for the next file, after the first file is filled. Anybody knows of a way to skip this interactive step, and let tar do the …
Error Output
tar -c -M --tape-length=102400 --file=disk1.tar largefile.tgz
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to create tar archive split into, or spanning, multiple files?
Low Risk
You can use split for this: This tells tar to send the data to stdout, and split to pick it from stdin - additionally using a numeric suffix ( ), a chunk size ( ) of 100M and using 'tardisk' as the base for the resulting filenames (tardisk00, tardis…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix