Penguin

Differences between version 2 and predecessor to the previous major change of TarNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 2 Last edited on Tuesday, October 14, 2003 10:56:50 am by MichaelBordignon Revert
Older page: version 1 Last edited on Tuesday, October 14, 2003 10:24:32 am by DanielLawson Revert
@@ -1,5 +1,4 @@
-  
 !!Multiple Tar Files 
  
 Sometimes it is necessary to split a tar archive over several volumes, or files. 
  
@@ -23,4 +22,8 @@
  num_volumes=`expr $totalkbytes / $each_archivesize + 1` 
  tar_args=`for i in $(seq 1 $num_volumes) ; do echo -n "-f archive$i.tar "; done` 
  
  tar -cvL $each_archivesize $tar_args --totals * 
+  
+Another approach is to use split, ie  
+  
+$ tar cvzf - dirs | split --bytes=1m - archive.tar.gz.part-