tar -cvf file.tar file folder
The above will create file.tar containing folder
tar -cvfz file.tar.gz file folder
The above will create compressed file.tar.gz containing folder
tar -cv file1 folder | split -v 10M file.tar_
The above will split the tar file into multiple files of 10M each
tar -xf file.tar
The above will extract...
tar -xfvz file.tar.gz
The above will unzip and extract...
cat file.tar_* | tar xz
The above will combine and extract
No comments:
Post a Comment
Note: only a member of this blog may post a comment.