LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Creating a spanning archive with tar (https://www.linuxquestions.org/questions/linux-software-2/creating-a-spanning-archive-with-tar-282915/)

Phyrexicaid 01-27-2005 11:37 AM

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

Matir 01-27-2005 12:51 PM

Use the "split" utility to uhh.. split the tar file :)

Phyrexicaid 01-27-2005 01:02 PM

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

Matir 01-27-2005 03:53 PM

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. :)

rnturn 01-27-2005 08:04 PM

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. :)


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