still kind of a stealthy love ninja (
zvi) wrote in
dw_dev_training2009-09-30 08:13 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
Entry tags:
Extremely naive question about working with SSH
Okay, when I have a patchfile on my dreamhack, how do I get it out of my dreamhack?
That is to say, when people have asked me to pastebin a file to them, I've been running less on the file, copying each screen, and adding them all together until they make the whole file and then posting it to pastebin.
I know this doesn't transfer files with 100% accuracy to pastebin, but it's usually good enough. However, there has to be a better way to get a file off the dreamhack and onto my local computer, so I can upload it to bugzilla. I just can't, for the life of me, figure out what that better way might be.
That is to say, when people have asked me to pastebin a file to them, I've been running less on the file, copying each screen, and adding them all together until they make the whole file and then posting it to pastebin.
I know this doesn't transfer files with 100% accuracy to pastebin, but it's usually good enough. However, there has to be a better way to get a file off the dreamhack and onto my local computer, so I can upload it to bugzilla. I just can't, for the life of me, figure out what that better way might be.
no subject
Not as shiny as SCP or the like, but its quick and dirty.
no subject
It may also help to
:set paste
before pasting (and optionally:set nopaste
afterwards), otherwise you might get vim's auto-indenting screwing with your already-indented code.