Sorry,

I just got your mail, I already sent one with just about the same content. 
But thank you for the confirmation on "cat" it is therefore right to do it 
this way. 
I used cat ... > ... instead of cat ... >> ... but the ">>" somehow looks  
better for appending files. 

Patrik

On Thursday 03 October 2002 14:16, Chris Spackman wrote:
> Patrik Marxer <[EMAIL PROTECTED]> writes:
> > Hi,
> >
> > I think this may be a simple command, but I havent found it so
> > far. I want to backup the vmware files on cdr so I need to cut them
> > into pieces that I can burn on cd and later put those together into
> > the original files again.
> >
> > What is the program/command to cut files and put them together?
>
> I think you are looking for split. man split will give you all the
> gory details, but basically all you need to do is:
>
> split --verbose -b 650m name_of_file_to_split
>
> you do not need the `--verbose' if you don't want it. the `-b 650m'
> tells split to divide the file into 650 meg files (as many as it
> takes), and you can change the number to whatever you want. `m' stands
> for megabytes.
>
> by default, the output goes to files named xaa, xab, xac, ...
>
> > Btw. is there a program that does something like backup a big chunk
> > (home dir, hda) and automatically cuts it into pieces that fit on cd
> > and can later restore the original in a place that I specify?
>
> sorry, cannot help here.
>
> One was to unsplit files is to use `cat'.
>
> cat file1 file2 >> new_big_file
>
> or
>
> cat file2 >> file1

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to