How to split a single large file into several smaller files and back to the large file on Linux server.
Web Hosting Tutorials April 11th, 2007To 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.
$ split –bytes=1m /path/to/large/file /path/to/output/file/prefix
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.
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
WordPress database error: [Table 'wp_comments' is marked as crashed and should be repaired]
SELECT * FROM wp_comments WHERE comment_post_ID = '109' AND comment_approved = '1' ORDER BY comment_date
