Friday, November 9, 2012

To tar and untar folder


Assume "work" is the directory you want to tar. [ Tar is nothing but compressing the file to zip folder]
Execute the below command to tar folder
tar –czf work.tar.gz work
To untar the tar folder. [ Untar is extracting the files]
Execute below command to untar folder.
tar –xzvf work

No comments:

Post a Comment