*便利なUnix コマンドメモ [#b5fdfef3]

**複数ファイルの複数箇所からの移動 [#d5a1ad42]

 find . -name "複数フォルダの grep パターン" -type f -exec cp {} (コピー先) \;
 例:Eで始まるすべてのフォルダ内のすべてのファイルを temp に移動
 find . -name "E*" -type f -exec cp {} /temp \;

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS