Difference between revisions of "Tar"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
* <code>tar -cvf new_file.tar /path/folder/to/tar</code>
 
* <code>tar -cvf new_file.tar /path/folder/to/tar</code>
* <code>tar -cvfJ new_file.tar.[[xz]] /path/folder/to/tar</code>
+
* <code>tar -Jcvf new_file.tar.[[xz]] /path/folder/to/tar</code> or <code>tar Jcvf new_file.tar.[[xz]] /path/folder/to/tar</code><ref>https://stackoverflow.com/a/18855909</ref>
  
  
 
== See also ==
 
== See also ==
 
* {{xz}}
 
* {{xz}}

Revision as of 12:04, 24 December 2019

https://en.wikipedia.org/wiki/Tar_(computing)


  • tar -cvf new_file.tar /path/folder/to/tar
  • tar -Jcvf new_file.tar.xz /path/folder/to/tar or tar Jcvf new_file.tar.xz /path/folder/to/tar[1]


See also

  • https://stackoverflow.com/a/18855909
  • Advertising: