Web Hosting Talk







View Full Version : split & join for large files


Al Nadeem
09-23-2002, 06:28 PM
hi

im transfering a large file (4 GB) from my old server to the new server..

i did splited the file using:

split -b838860800 attachment.MYD ./

now i have 5 files:

-rw-r--r-- 1 root 838860800 Sep 23 14:41 aa
-rw-r--r-- 1 root 838860800 Sep 23 14:45 ab
-rw-r--r-- 1 root 838860800 Sep 23 14:48 ac
-rw-r--r-- 1 root 838860800 Sep 23 14:51 ad
-rw-r--r-- 1 root 555517540 Sep 23 14:54 ae

they are now on the new server, but how can i JOIN them to become a 1 file?

i did a `man join` but i think im not on tha right plase..

can any one help..

cperciva
09-23-2002, 07:51 PM
cat aa ab ac ad ae > filename

Al Nadeem
09-24-2002, 05:52 AM
:agree:

thank u cperciva

`cat aa ab ac ad ae > filename` joined the file