Created
October 18, 2018 16:49
-
-
Save jaderabbit/4d4b406477a7a6e32d9f7137bc74e8b4 to your computer and use it in GitHub Desktop.
split files based on %
This file contains hidden or 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
split -l $[ $(wc -l filename|cut -d" " -f1) * percentage / 100 ] filename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment