Split the file in tar


 
Thread Tools Search this Thread
# 1  
Old 01-21-2007
Split the file in tar

I want to use tar to pack all /home in a file, but it is large than 4 GB and can't burn to DVDR for storage. How can I set in tar to make it will split in every 4GB size ?
# 2  
Old 01-21-2007
tar n split

tar and then split it into manageable sizes.
Code:
split -b 4096m test.tar reqd_filename

I am not sure if it is a good option.
# 4  
Old 01-22-2007
dear
compress command you can use. the write cd/dvd
it's a safer way.
or use man command for join the file
# 6  
Old 01-22-2007
dear
tar can be used to create archives of compressed files that are
uncompressed when they are extracted

compress ./tmp/*
tar Cvf tmpZ.tar ./temp/*

SAME HELP YOU CAN FIND WITH
man tar
# 7  
Old 01-22-2007
Quote:
Originally Posted by zp523444
does Tar support splitting the *.tar file into specific size?
No.
Quote:
Originally Posted by zp523444
how can I combine into one? using the same command 'split'?
cat file1 file2 file3 > bigfile
 

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Tar - pre-checking before making the Tar file filosophizer AIX 14 06-15-2016 06:49 PM
Making Tar of directory and tar file is going to be placed filosophizer AIX 5 02-20-2016 01:39 AM
UNIX command to check if file name ends with .tar OR if the file is a tar file sanjaydubey2006 UNIX for Dummies Questions & Answers 10 02-19-2015 05:40 PM
Remote FTP Backup -Tar archive+ encrypt+ split to a remote ftp tara123 UNIX for Dummies Questions & Answers 8 04-09-2014 06:10 PM
Do I need to extract the entire tar file to confirm the tar folder is fine? vivien_chu UNIX for Dummies Questions & Answers 1 01-28-2013 06:08 AM
Backup script to split and tar files ganitolngyundre Shell Programming and Scripting 4 06-18-2012 02:26 AM
Split File by Pattern with File Names in Source File... Awk? cul8er Shell Programming and Scripting 2 11-25-2011 01:38 PM
tar command to explore multiple layers of tar and tar.gz files bashnewbee Shell Programming and Scripting 1 07-12-2011 05:08 PM
tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file ahSher UNIX for Dummies Questions & Answers 2 04-02-2009 04:43 AM
Tar utility (untar a .tar file) on VxWorks uday_01 UNIX for Advanced & Expert Users 1 05-26-2008 09:13 AM
tar + gzip + split together aamir1234 Shell Programming and Scripting 7 04-13-2008 06:36 AM
Split a file with no pattern -- Split, Csplit, Awk madhunk UNIX for Dummies Questions & Answers 10 12-17-2007 11:57 AM
extract one file form .tar.gz without uncompressing .tar.gz file balireddy_77 Shell Programming and Scripting 2 07-10-2007 04:23 AM
Tar: how to remove a file from a tar file leemjesse UNIX for Dummies Questions & Answers 0 05-09-2006 09:37 AM
Does tar do crc checking on a tape or tar file? tjlst15 UNIX for Advanced & Expert Users 1 05-04-2006 10:09 AM