一次 untar 多個files

我現在多是用到sites/all/modules 用 wget 更新模組的
wget [url]
因為快, 又免了upload 的麻煩
複製了 drupal.org 內模組的下載url
貼到putty
但untar 不可以用萬用字符 *

find [folder] -iname "*.tar" -exec tar xvfz {} \;

google 大神果然最強!

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <h4> <h3>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options