To split large file into several smaller files, you can use split command in linux. Just follow the steps below and you will be able to split large file into smaller files.
•From terminal key in
$ split –bytes=1m /path/to/large/file /path/to/output/file/prefix
•Done. You just split your large file into several smaller files
* You can change the output file size by changing the –bytes=1m to your preference. You can
use b, k, or m. b represent bytes, k represent kilobytes, m represent megabytes.
Ex. split --verbose -b 1140000000 jo_old.tar.gz omg -- Filename
It will create omga, omgb and so on...
*To restore the original file, you can use cat command(To join all the smaller file to restore the original file type:-)
$ cat prefix* > NEWFILENAME
Ex. cat omg* > jo_new.tar.gz
* To compare the size from the original file use md5sum
Ex. md5sum jo_old.tar.gz and md5sum jo_new.tar.gz -- ID generated should be the same.
Note: If generated ID is not the same with the original file, repeat the above mentioned steps.
Check Page Rank of your Web site pages instantly:
This page rank checking tool is powered by Page Rank Checker service
- ▼ 2011 (18)