mvwill override existing files with the same name. To rename existing files with the same name instead, use the
mv --backup=numberedThe resulting file name pattern is
image.jpg.~1~. Note that these files can be recognized as recycle or backup files by mistake. In this case they might be hidden by your file manager.