I am trying to create a simple function for dired where I would be able to call the function on current (or marked) files and then quick move the current (or marked) files to a pre-defined directory.
I know I need to write a function and use dired-do-rename
but I am unclear of other steps (I have zero coding skills :))
This is what I have so far:
(defun z/dired-move-2home ()
(interactive)
(dired-do-rename FILE/MARKED FILES "~/Downloads"))
dired-do-rename
. What's different about what you want?z/dired-move-2home
it will copy X to ~/Downloads. is that clearer? Z