你的位置:首页 > 软件开发 > 操作系统 > Linux split拆分文件

Linux split拆分文件

发布时间:2016-10-09 20:00:09
介绍split可以将一个大文件拆分成指定大小的多个文件,并且拆分速度非常的快,拆分一个1G大小的文件花费不到1S的时间,如果手工在windows上面进行操作估计得卡死。 选项Usage: split [OPTION]... [INPUT [PREFIX]]Output ...

介绍

split可以将一个大文件拆分成指定大小的多个文件,并且拆分速度非常的快,拆分一个1G大小的文件花费不到1S的时间,如果手工在windows上面进行操作估计得卡死。

 

 

选项

Usage: split [OPTION]... [INPUT [PREFIX]]Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; defaultsize is 1000 lines, and default PREFIX is `x'. With no INPUT, or when INPUTis -, read standard input.Mandatory arguments to long options are mandatory for short options too. -a, --suffix-length=N  use suffixes of length N (default 2) 指定拆分文件的后缀长度 -b, --bytes=SIZE    put SIZE bytes per output file 按字节拆分,默认单位字节 -C, --line-bytes=SIZE  put at most SIZE bytes of lines per output file 指定单行的最大大小,默认单位字节 -d, --numeric-suffixes use numeric suffixes instead of alphabetic 用数字作为拆分文件的后缀 -l, --lines=NUMBER   put NUMBER lines per output file 按行数进行拆分   --verbose      print a diagnostic just before each              output file is opened   --help   display this help and exit   --version output version information and exitSIZE may be (or may be an integer optionally followed by) one of following:KB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y. 可以用后缀指定其它的单位Report split bugs to bug-coreutils@gnu.orgGNU coreutils home page: <http://www.gnu.org/software/coreutils/>General help using GNU software: <http://www.gnu.org/gethelp/>For complete documentation, run: info coreutils 'split invocation'

 

海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com

原标题:Linux split拆分文件

关键词:linux

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录