CONTENT
  • CHANGES
Szukaj
counter

#top split


split - split a file into pieces

Powiązane:

SYNOPSIS
split [OPTION] [INPUT [PREFIX]]


DESCRIPTION



OPTIONS
Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default size is 1000 lines, and default PREFIX is 'x'. With no INPUT, or when INPUT is -, read standard input.

Mandatory arguments to long options are mandatory for short options too.
</divindent50>

-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 to standard error just before each output file is opened

--help
display this help and exit

--version
output version information and exit

SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.



EXAMPLES
large.mp3.1, large.mp3.2, large.mp3.3 ...
split -b1m large.mp3 large.mp3.

odtwarzanie pierwotnego pliku
cat large.mp3.* > large.mp3

diskimage.00 diskimage.01 diskimage.02 ...
split -b 2147483648 -d diskimage.img diskimage.

odtwarzanie pierwotnego pliku
cat diskimage.* > diskimage.img




Zmodyfikowany ostatnio: 2014/05/15 10:01:20 (9 lat temu), textsize: 1,98 kB, htmlsize: 2,68 kB

Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników