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.

















