📌  相关文章
📜  bash 将文件拆分为多个文件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:18.201000             🧑  作者: Mango

代码示例1
# Basic syntax:
split --lines=1000 --numeric-suffixes --suffix-length=2 input_file output_file_prefix
# Where:
#    - --lines=# is the number of lines to include per split file
#    - --numeric-suffixes tells split to use numbers on the output filenames
#    - --suffix-length=# tells split to use a numeric length of #, 
#        E.g. 2 = 00, 01, 02...
#    - output_file_prefix is the first part of the filename for every 
#        output file