Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ressources:ssh:tar [2009/09/15 18:30]
gaspard code bash
ressources:ssh:tar [2013/06/16 22:51] (current)
Line 12: Line 12:
   * To untar(extract) a gzipped tar archive file : <code bash>tar -xzf foo.tar.gz</​code>​   * To untar(extract) a gzipped tar archive file : <code bash>tar -xzf foo.tar.gz</​code>​
   * To untar a bzipped (.bz2) tar archive file : <code bash>tar -xjf foo.tar.bz2</​code>​   * To untar a bzipped (.bz2) tar archive file : <code bash>tar -xjf foo.tar.bz2</​code>​
 +
 +------
 +slicing files can also be useful
 +More info for beginners. I accomplished the above process successfully with these commands:
 +
 +tar'ed the file with:
 +nohup nice tar -cf /foo.bu.tar /fooSource &
 +
 +split the file into 500MB chunks with:
 +nohup nice split --line-bytes=500m foo.tar.gz foo_ &
 +
 +rejoined the file with:
 +nohup nice cat foo_a* > foo_FULL.tar.gz &
 +
 +hope it works for you too...
 +
 +BTW, the nohup, nice and '&'​ are just for running the contained command considerately in the background of my terminal window because the processes took so long.
ressources/ssh/tar.txt ยท Last modified: 2013/06/16 22:51 (external edit)
 
 
Creative Commons License Powered by PHP Valid XHTML 1.0 April