Sunday, June 5, 2011

More on duplicate file handling in emacs dired

I had some good feedback on my last post, that it would be useful to be leave just the superfluous duplicate files marked in the dired buffer. After doing that you can then copy them to another folder, or delete them.

I've added a function to do this `dired-mark-duplicate-files', and updated the google code site with the changes.

To copy to another folder use R and select a folder to move the dupes to. In order to delete them hit D.


Mathias said...

You don't need to change the marks to delete the marked files. Just use the D command :-)

Justin said...

Thanks for the tip, Mathias.

Justin said...

(Edited the original post to reflect Mathias's tip)