- 论坛徽章:
- 7
|
本帖最后由 tuyajie 于 2015-03-07 09:47 编辑
In my opinion, you can output all in one file and then use command "split ".
NAME
split - split a file into pieces
SYNOPSIS
split [OPTION]... [INPUT [PREFIX]]
DESCRIPTION
Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default size is 1000 lines, and default PREFIX is ?.?. With no INPUT,
or when INPUT is -, 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)
..... |
|