Closed AaronV77 closed 5 years ago
Just found a spot in the pull script that I didn't really have to be compressing. There was no point in compressing a single file to then have to uncompress on the server. So, I just transferred the file to the server and did an 'ls' on it and then removed the file.
BUG: I found a bug in the pull script and fixed it. I have never tested the pull script with trying to pull with the directory already in place. I don't think..
I was able to remove a scp command in the pull.sh script and removed a lot of unnecessary code. With supporting tunnel recycle and minimal scp and ssh commands, I think the scripts will not get any more efficient. I'll reopen this issue if I find an update that increases the overall performance.
The scripts are rather slow when it comes to bigger files / folders, so I want to make sure that we are doing everything in the easiest / fastest way possible. If there is one ssh / scp / sftp call that we can nock out, then it will be a lot more efficient.