On other article, I mention before that you can split file with HJSplit 1.4 for Windows. Actually, Fedora had has tool to split file. For instance, I have a big file “Warrior_of_The_Net.mpg” with size 148 MB. Now, I will split it into small ones, say 9.6MB or 10.000.000 B each.
Code :
$ split -d -b 10000000 Warrior_of_The_Net.mpg Warrior_of_The_Net.
Note :
split = the command line
-d and -b 10000000 = option, -d is numeric suffixes and -b is output size in byte
Warrior_of_The_Net.mpg = input file
Warrior_of_The_Net. = output file name, with dot at the end of output file name
The output files are :
Warrior_of_The_Net.01
Warrior_of_The_Net.02
Warrior_of_The_Net.03
...
Warrior_of_The_Net.15
If you want the output file has name like Warrior_of_The_Net.001, you can use sintax like this :
Code :
$ split -d -b 10000000 Warrior_of_The_Net.mpg Warrior_of_The_Net.0
To join the files, please use “cat” command line.
By. Muh. Sirojul Munir (msmunir@batan.go.id)
No comments:
Post a Comment