How can I move all `marked` files to another directory in ranger?
20,384
Solution 1
With the files / directories marked, press dd
, then navigate to the directory you want to paste them in and press p
.
Solution 2
- 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 ofyt
to cut instead of copy
Related videos on Youtube
Author by
Matt Deacalion
Updated on September 18, 2022Comments
-
Matt Deacalion almost 2 years
When I select multiple files within ranger (using
<Space>
orV
), how do I move these selected files to another directory?I've tried to use
dd
andpp
, but this only moves the file that's currently highlighted.-
Matt Deacalion about 7 yearsI've found one way, using the ":cut" and ":paste" commands. I was looking specifically for a keybinding though.
-
laktak about 7 years
dd
is bound tocut
by default - sodd
should do what you want. Check your keybindings with?k
-