How to force overwrite non-empty directories using `mv`
If you use mv --backup=numbered
(or one of the other options for the --backup
switch),
then mv
will complete the merge and preserve the files intended to be overwritten.
If you use mv --backup=numbered
(or one of the other options for the --backup
switch),
then mv
will complete the merge and preserve the files intended to be overwritten.