I do these jobs every day manually with a GUI client:
- upload data(
.tar.gz
) to remote server(linux
) viassh
,which takes about an hour. - uncompress the data and run
update.sh
How can I automate the process so that I don't need to wait an hour?
My PC OS is windows.
How to do the above jobs by commandline?