mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update index.py
This commit is contained in:
@@ -295,6 +295,7 @@ def cmdRec():
|
||||
ip = public.getLocalIp()
|
||||
|
||||
cmd = 'echo "' + pwd_list[an] + '" > /tmp/p.pass' + "<br>"
|
||||
cmd = 'chmod 600 /tmp/p.pass' + "<br>"
|
||||
cmd += 'rsync -arv --password-file=/tmp/p.pass --progress --delete /project ' + \
|
||||
an + '@' + ip + '::' + an
|
||||
return public.returnJson(True, 'OK!', cmd)
|
||||
|
||||
Reference in New Issue
Block a user