When I select multiple files within ranger (using <Space> or V), how do I move these selected files to another directory?

I've tried to use dd and pp, but this only moves the file that's currently highlighted.

  • I've found one way, using the ":cut" and ":paste" commands. I was looking specifically for a keybinding though. – Matt May 23 '17 at 10:41
  • 3
    dd is bound to cut by default - so dd should do what you want. Check your keybindings with ?k – laktak May 23 '17 at 21:29

With the files / directories marked, press dd, then navigate to the directory you want to paste them in and press p.

| improve this answer | |
  • use space to mark files i.e "toggle=true"
  • use yt to yank files flagged as "toggle=true"
  • enter the directory you want
  • use pp to paste toggled files
  • use dt instead of yt to cut instead of copy
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.