Interactively copy multiple files, with a prompt before replacing or adding a destination file

replace

  • Replace files.
    See also: `robocopy`, `move`, `copy`, and `del`.
    More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/replace>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

replace {{path/to/file_or_directory}} {{path/to/destination}} /p

click the source code to copy install replace on any operating system with command-not-found.com