untar
-
untar a tar file into a specific directory nameComputer/linux 2013. 12. 31. 14:54
base_version="3.14.12.4" extn_version="20120904" extn_filename="extensionsTop_${extn_version}.tar.gz" extn_raw_dirname="extensions_for_${base_version}" tar xvzf ${extn_filename} --transform 's/extensions/'${extn_raw_dirname}'/'