BLOG HOME -  UK WEB HOSTING -  PHP MYSQL HOSTING -  RESELLER HOSTING -  eUKhost FORUMS -  VPS HOSTING

Split Large Files Into Smaller Files

To split a large file into several smaller files, you can use the ’split’ command in Linux. Just follow the steps below and you will be able to split a large file into smaller files.

You need to fire the command from shell.

$ split –bytes=1m /path/to/large/file
/path/to/output/file/prefix

Just simple.

You have done it. You can change the output file size by changing -bytes =1m to any desire value which you want.
You can use b, k, or m. b represent bytes, k represent kilobytes, m represent megabytes.

To restore the original file you can use cat command.

cat prefix* > NEWFILENAME.

Bookmark on del.icio.us digg this

This post is compiled by eUKhost.com

Leave a Comment

You must be logged in to post a comment.