I have some local files at:
/doc/dir-monkey/monkey.txt /doc/dir-monkey/monkey.xml /doc/dir-dog/dog.txt /doc/dir-dog/dog.xml /doc/dir-cat/cat.txt /doc/dir-cat/cat.xml
Now I want to upload them to a remote server via scp
I want to keep the directory the same way and overwrite the old files if necessary. I know that I can only upload one file at a time and I found some tips about compress the files before and then decompress them remotely. Is there any detailed instructions for this?
I am currently using MacOSX 10.10 and the remote server is as follows:
Distributor ID: Debian Description: Debian GNU/Linux 7.5 (wheezy) Release: 7.5 Codename: wheezy