Last active
September 27, 2017 05:42
-
-
Save kannans/cdcd7e4dd910d55173df5a1fc4caa19e to your computer and use it in GitHub Desktop.
convert large files in to pieces and merge it back to original using command line approach
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 the laracroft movie file into 100MB of each. | |
# This is Mac command. Just remove prefix "g" from "gsplit" will work with linux. | |
system "gsplit --bytes=100m lara.mp4 lar_vide_" | |
# Output: lar_vide_aa .. lar_vide_af | |
# merge it back to original file | |
system "cat lar_vide_* > original_lara_yourback.mp4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment