回答編集履歴
1
追記
test
CHANGED
@@ -5,3 +5,13 @@
|
|
5
5
|
$ /usr/bin/find /home/user/files -name '*.xlsx' -mtime -1 -type f -print0 | xargs -0 zip -j -0 /home/user/files/20180324.zip
|
6
6
|
|
7
7
|
```
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
追記
|
12
|
+
|
13
|
+
> /usr/bin/find /home/user/files/*.xlsx ...
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
これだとfindが実行される前にbashがファイル名を全て展開しようとするので問題のエラーが発生します。
|