LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-27-2005, 11:37 AM   #1
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Rep: Reputation: 30
Creating a spanning archive with tar


The subject is pretty self explanatory, I've downloaded something at work and need to fit it onto a 128 mb flash disk, the file is 130mb... so I need to be able to create a spanning archive with tar. Looked at the wiki and man pages and couldn't see anything (didn't understand maybe?)

Commands would be appreciated!

Dave
 
Old 01-27-2005, 12:51 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Use the "split" utility to uhh.. split the tar file
 
Old 01-27-2005, 01:02 PM   #3
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Original Poster
Rep: Reputation: 30
wicked, now that I've broken humpty dumpty how do I put him back together again? And how did you find that command !?! Years of linux is my guess

edit:

okay I tried "cat file1 file2" and it printed to screen, not pretty seeing 130mb. any suggestions

Last edited by Phyrexicaid; 01-27-2005 at 01:22 PM.
 
Old 01-27-2005, 03:53 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Try
Code:
cat file1 file2 > allfiles
Years of linux? Hardly. More like trying to find a way to split strings in the shell without going into a fullblown sed/awk session.
 
Old 01-27-2005, 08:04 PM   #5
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,785

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Only two files to recombine? You must have missed the fun of splitting a copy of the kernel source tar archive so that it'd fit on 1.44MB floppies. I'm still running across old AOL floppies that have "xaf", "xag", etc. scrawled across the label.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problem Creating Archive With Tar In Redhat!!! hamidrh Linux - Newbie 4 09-16-2004 12:37 PM
Tar gives error when creating a tar file archive davidas Linux - Newbie 10 04-13-2004 12:35 AM
Problem with properly creating a tar archive FransE Linux - Software 5 02-28-2004 03:15 PM
Problem creating tar.gz archive - File changed as we read it doctorwebbox Linux - General 1 02-04-2004 05:59 PM
this doesn't look like a tar archive .phister Slackware 5 02-01-2004 01:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:22 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