ssh rsync file transfer
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
# Finding files with a specific word
|
||||
|
||||
find /home/rakshit/work/DFS/dqclibs -name "*.c" | xargs grep -l "GTOnr3c" 2>/dev/null
|
||||
`find /home/rakshit/work/DFS/dqclibs -name "*.c" | xargs grep -l "GTOnr3c" 2>/dev/null`
|
||||
|
||||
# Send file to ssh server
|
||||
|
||||
`rsync -avz -e "ssh -i ~/.ssh/aws-key.pem" myproject/ ubuntu@54.210.123.45:~/myproject/`
|
||||
|
||||
Reference in New Issue
Block a user