Q: how do I use dired
to copy/move files without overwriting?
I'd like to use dired
to copy (or move) files from directory A
to directory B. However, I only want to copy files in A that
do not already exist in B.
Example:
- Directory A contains
file1.txt
,file2.txt
, andfile3.txt
. - Directory B contains
file1.txt
.
How do I tell dired
to copy only file2.txt
and file3.txt
from directory A to directory B? I can tell which ones to
mark with just a few files, but I'm thinking about situations in
which there are potentially thousands of files in the two
directories.