Created
July 23, 2015 06:46
-
-
Save MyExperiments/16fd024b8902b22952f4 to your computer and use it in GitHub Desktop.
Tar and restore tar files in linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tar | |
=== | |
tar -cvf output.tar file1 file2 folder1/ | |
Restore Tar | |
=========== | |
tar -xvf output.tar | |
options | |
-------- | |
-c : Create a tar ball. | |
-v : Verbose output (show progress). | |
-f : Output tar ball archive file name. | |
-x : Extract all files from archive.tar. | |
-t : Display the contents (file list) of an archive. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment