提交 bedf89dd 编写于 作者: Z zhang-daiyue

Add copy file sh for xts.

Signed-off-by: Nzhang-daiyue <zhangdaiyue1@huawei.com>
上级 ab6257db
...@@ -14,15 +14,14 @@ ...@@ -14,15 +14,14 @@
"push": [ "push": [
"./resource/medialibrary/01.jpg ->/storage/media/100/local/files", "./resource/medialibrary/01.jpg ->/storage/media/100/local/files",
"./resource/medialibrary/01.mp3 ->/storage/media/100/local/files", "./resource/medialibrary/01.mp3 ->/storage/media/100/local/files",
"./resource/medialibrary/01.mp4 ->/storage/media/100/local/files" "./resource/medialibrary/01.mp4 ->/storage/media/100/local/files",
"./resource/medialibrary/copy_files.sh ->/data/local/tmp"
] ]
}, },
{ {
"type": "ShellKit", "type": "ShellKit",
"run-command": [ "run-command": [
"for n in `seq 1 999`; do cp /storage/media/100/local/files/01.jpg /storage/media/100/local/files/copy-$n.jpg; done;", "sh /data/local/tmp/copy_files.sh",
"for n in `seq 1 999`; do cp /storage/media/100/local/files/01.mp3 /storage/media/100/local/files/copy-$n.mp3; done;",
"for n in `seq 1 999`; do cp /storage/media/100/local/files/01.mp4 /storage/media/100/local/files/copy-$n.mp4; done;",
"chmod -R 777 /storage/media/100/local/files/*", "chmod -R 777 /storage/media/100/local/files/*",
"chmod -R 777 /data/service/el2/100/hmdfs/account/files/*", "chmod -R 777 /data/service/el2/100/hmdfs/account/files/*",
"setenforce 0" "setenforce 0"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册