Difference between revisions of "Tar"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 11: Line 11:
  
 
* <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>
 
* <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>
 +
 +
 +
== Related commands ==
 +
* <code>[[docker save]]</code>
 +
* <code>[[docker load]]</code>
 +
  
  

Revision as of 19:24, 23 February 2020

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

http://man7.org/linux/man-pages/man1/tar.1.html

-c (--create)
-remove-files


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


Related commands


See also

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