How to copy long text from PuTTY to text document in Windows?

2

2

Following this question PuTTY how to select text and copy text using keyboard ONLY

I need to copy a very long text and paste it in another file (not in PuTTY) I can only copy chunks... It doesn't let me to mark the whole file (or Ctrl+A equivalent). What can I do?

avi

Posted 2016-12-13T07:35:45.123

Reputation: 213

Answers

2

What I usually do:

  • Clear Scrollback (in PuTTY window title bar context [right-click] menu)
  • Reset Terminal (or clear command or equivalent)
  • display file, e.g.

    cat myfile
    
  • Copy All to Clipboard

You will obviously still get at least the cat myfile command in the clipboard, but you can easily remove that after pasting.

Martin Prikryl

Posted 2016-12-13T07:35:45.123

Reputation: 13 764