commit 3466053d21d50f6e16b0f08d193d196bac44cf8e parent 946f997d30681e136424744d0ecb63f54df0a3c1 Author: sin <sin@2f30.org> Date: Tue, 9 Jul 2013 19:27:35 +0100 Remove tmp file on remote server Diffstat:
M | ssh-multi | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ssh-multi b/ssh-multi @@ -21,6 +21,7 @@ chmod +x ${batch} while [ $# -gt 0 ]; do scp ${batch} $1:/tmp urxvt -e sh -c "ssh $1 '${batch}'" + ssh $1 "rm ${batch}" shift done