Untar multiple files in different directories

Posted by wildeep on Server Fault See other posts from Server Fault or by wildeep
Published on 2010-04-29T07:08:28Z Indexed on 2010/04/29 7:18 UTC
Read the original article Hit count: 161

Filed under:
|
|

Hi, am trying to perform an update on multiple site that use an open source CMS but untaring a patch file in each sites httpdocs directory. My plan was to perform a find for the patch file then untar using the following command:

find . -name "patchfile.tar.gz" -exec tar -xzvf {} \; -print

but it doesnt seem to work successfully

anyone have any ideas as to why not?

Many thanks.

© Server Fault or respective owner

Related posts about tar

Related posts about cms