Split

From Linuxintro
Revision as of 05:09, 19 April 2014 by imported>ThorstenStaerk (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

split is a command that splits a file into several chunks like this:

# ls hugefile.tar.gz      
hugefile.tar.gz
# split -b 2GB hugefile.tar.gz 
# ls -ltr
[...]
-rw-r--r--  1 username users 5047163622 2012-07-05 05:07 hugefile.tar.gz
-rw-r--r--  1 username users 2000000000 2012-07-05 06:18 xaa
-rw-r--r--  1 username users 2000000000 2012-07-05 06:18 xab
-rw-r--r--  1 username users 1047163622 2012-07-05 06:18 xac

See also