troubleshooting Question

tar multi volume

Avatar of ppeiris
ppeiris asked on
Linux OS DevShell Scripting
7 Comments1 Solution1615 ViewsLast Modified:
I have to write a script to tar and transfer about 20GB amount of data... I was planing to use the multi volume option in tar to create series of 1GB files and transfer individually. I can run the following command but it wait for user input to create the next (disk2.tar) file. How can I automate this to just create all the disk(n).tar files without user interaction.
tar -cM --tape-length=1024000 --file=disk1.tar backup.tar
Julian Parker
Senior Systems Administrator

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros