Browsing this Thread:   1 Anonymous Users






linux split 分割文件
#1
Just can't stay away
Just can't stay away


See User information


split -l 2000 urls.txt --a 2    prefix_


-l:按行分割,上面表示将urls.txt文件按2000行一个文件分割为多个文件

-d:添加数字后缀,比如上图中的00,01,02

-a 2:表示用两位数据来顺序命名

prefix_:看上图就应该明白了,用来定义分割后的文件名前面的部分。

Posted on: 2022/9/4 18:29
Top


Re: linux split 分割文件
#2
Just can't stay away
Just can't stay away


See User information
split -b 400M video.avi

Posted on: 2023/9/21 18:48
Top








friend links
Themes

(2 themes)
Login
Username:

Password:


Lost Password?
Register now!
Categories
Xoops (11)
--Modules (2)
--Themes (0)
Article (8)