Skip to Content
gnux

-a, --suffix-length

Generate suffixes of length N (default 2).

An option of splitx.

Usage

splitx -a N [FILE [PREFIX]]
splitx --suffix-length=N [FILE [PREFIX]]

Details

ShortLongValueDefaultMeaning
-a--suffix-lengthNgenerate suffixes of length N (default 2)

Examples

Number the pieces from 1 instead of 0

splitx -l 500 --numeric-suffixes=1 -a 3 list.txt list-
Output
(creates list-001, list-002, ...)

Help in the terminal

gnux help splitx --suffix-length

On this page