Here you go

Friday, December 16, 2016

Excluding folder for untar




Excluding file or directory from extraction:

For Example :

We are going to ignore folder : temp_folder from our tar file : MY_FILE.tar.gz

$ tar -xzvf MY_FILE.tar.gz --exclude=home/myuser/folder/temp_folder   

No comments:

Post a Comment

Thanks for making a comment.