LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2005, 12:58 AM   #1
lil_becky
Member
 
Registered: Sep 2002
Location: Romania
Distribution: suse 9.1
Posts: 34

Rep: Reputation: 15
multiple volume archive


In Linux, how can I do a multiple disk archive of a file that for example has 4 mb and I would like to make it so that I can put it on several floppies?
Is it enough if I do tar -c -M <filename> /dev/fd0 ? or is it /dev/fd0 <filename> ? Isn't there a way I can give the amount of kb I want the multiple archives to be? Can I make it put the archives not directly on the floppy but somewhere else on the hard disk?


Becky
 
Old 01-19-2005, 04:47 PM   #2
vls
Member
 
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
Re: multiple volume archive

The basic tar command is :
tar -c -M -f /dev/fd0 files-to-tar
or more obvious: tar --create --multi-volume --file=/dev/fd0 files-to-tar.

-f or --file tells tar which archive to read or write.

From a cursory perusal of the info manual, it doesn't appear that you can specify the size. With -M it justs writes until it runs out of space and then prompts for a new floppy.

The 'split' command will divide a file into whatever size chunks you like.

Check the info manual (not the man pages) for tar (look for 'Using Multiple Tapes' section) and the info manual for split.

Post again if you need clarification.
 
Old 01-19-2005, 05:26 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
There's -L ...


Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
divide a directory into multiple archive files with par ddaas Linux - General 1 02-26-2005 01:52 PM
Multiple same entries in volume controls or1onas Linux - Newbie 4 02-07-2005 12:21 PM
Multi-Volume tar(1) archive on CDR ViragoRider Linux - Software 0 05-14-2004 01:45 PM
Adjusting how much volume jumps with volume keys vrillusions Linux - Laptop and Netbook 2 10-17-2003 09:11 PM
importing an MS Outlook archive archive.pst alloydog Linux - Software 2 08-29-2003 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration