Split

From Linuxintro
(Redirected from SPLIT)

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