回答編集履歴
1
コードの追加
test
CHANGED
@@ -9,3 +9,19 @@
|
|
9
9
|
ls --ignore={hoge*,fuga*}
|
10
10
|
|
11
11
|
```
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
追記
|
16
|
+
|
17
|
+
awkでのファイル読み込み版
|
18
|
+
|
19
|
+
```sh
|
20
|
+
|
21
|
+
ls -Rl `awk '{printf "--ignore="$0" ";}' list.txt`
|
22
|
+
|
23
|
+
```
|
24
|
+
|
25
|
+
list.txtには除外対象ディレクトリ名やファイル名が1行毎に記述されている
|
26
|
+
|
27
|
+
|