Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to split file in windows just like linux [closed]

How can we split file in windows system in command prompt based on size. like linux system we use

"split -b 10M filename.xyz new_filename"
like image 372
Ganesh Avatar asked Jan 05 '16 10:01

Ganesh


People also ask

How do I split multiple files in Windows?

Right-click the file and select the Split operation from the program's context menu. This opens a new configuration window where you need to specify the destination for the split files and the maximum size of each volume. You can select one of the pre-configured values or enter your own into the form directly.


2 Answers

If you have "git bash" use the linux split, if don't have it, download it from: https://git-scm.com/

I hope it works for you

like image 104
Juan Uribe Avatar answered Oct 04 '22 15:10

Juan Uribe


You can compress the required file to a zip (or rar) file, setting a maximum file size so that it gets split. This means that you will always have the program to get the initial file back available.
Some options are:

  • HJSplit is a freeware and portable (size == 300 KB), and doesn't have to be installed.
  • There is an older, free command-line version of Goetz's File Splitter, it is best if you plan on running batch scripts to split many files.
  • 7-Zip is another free open source program that allows you to split (with or without compression) and combine files, either via GUI (right click on the file > Split File... > choose size) or command line.
  • Total Commander does that as well (Files > Split File...).
like image 27
Idos Avatar answered Oct 04 '22 15:10

Idos