Categories
Linux Mastering Development

Append a local file to a remote file over ssh

I can use ssh or scp to append a remote file to a local file, but I cannot figure out how to do the reverse and append a local file to a remote server.

ssh remote.server cat /path/to/file >> locale-file

Works great (but not with globbing), but how do I reverse it?

Leave a Reply

Your email address will not be published. Required fields are marked *