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

自古美人都是妖i 提交于 2019-12-21 07:12:31

问题


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"

回答1:


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...).



回答2:


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



来源:https://stackoverflow.com/questions/34609650/how-to-split-file-in-windows-just-like-linux

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!