Created
January 28, 2013 23:35
-
-
Save danhyun/4660312 to your computer and use it in GitHub Desktop.
split sql batch file into 500 line pages with prefix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
csplit -k some_file.sql -f some_file_prefix -b %02u.sql 500 {10000} | |
500 is number of lines | |
{10000} is how many times to repeat an action |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment