LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   TAR question.. (https://www.linuxquestions.org/questions/linux-newbie-8/tar-question-158075/)

hct224 03-15-2004 03:12 PM

TAR question..
 
I have 1 ISO file which is 600MB. Now I want to split it so people can download easy(especially 56K users). What command should I type if I want to split this file to multiple 20MB files?

Thanks

Komakino 03-15-2004 03:35 PM

Code:

split --bytes=20971520 inputfile output
will split inputfile into 20MB chunks called outputa, outputb, outputc etc...
use cat to join them together again.

Komakino 03-15-2004 03:36 PM

looking at the man page, --bytes=20m will also do 20MB

Tinkster 03-15-2004 04:19 PM

Re: TAR question..
 
Quote:

Originally posted by hct224
I have 1 ISO file which is 600MB. Now I want to split it so people can download easy(especially 56K users). What command should I type if I want to split this file to multiple 20MB files?

Thanks

Tell users to use wget and continue the download
whereever they stopped/got disconnected... :)


Cheers,
Tink


All times are GMT -5. The time now is 07:52 PM.