What? A blog?‎ > ‎

Creating a spanned GZ file

posted Jun 28, 2013, 5:53 PM by Daniel Gomes
I need to backup a large file from Linux to a VFAT file system, which has a file size limitation of 4 GB. So, I'm taking this note for future reference in case I need to restore the compressed file later.

Snatched from StackOverflow:

# create archives
$ gzip -c my_large_file | split -b 1024MiB - myfile_split.gz_
# uncompress
$ cat myfile_split.gz_* | gunzip -c > my_large_file