linux - how use tar and extract everything except certain files? -


i want extract website.tgz don't want these "come out":

app/config.ini log/ 

how do this?

or/also how overwrite except above?

try using following command

tar -xvzf /path/to/tarfile --exclude='file dont want extract' 

Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -