3 ms·
Yeah, shortcuts aren’t like UNIX pipes, so “cat >” will create the file but cat will hang forever waiting for data to come in over stdin. I’m guessing you’ll ne
by nneonneo 7y ago
Yeah, shortcuts aren’t like UNIX pipes, so “cat >” will create the file but cat will hang forever waiting for data to come in over stdin. I’m guessing you’ll need an scp-type command rather than an ssh command since you need to copy a local file over to the remote end.
- austhrow743 7y agoUnfortunately Shortcuts only allows for running scripts over ssh, not just general terminal commands. I might be out of luck on this one.