I'd like to know if it's possible to move/copy files using the command line and automatically rename conflicting files? I scoured the forums and found different suggestions but none of them worked. So far I've tried:
cp -r --backup=t /path/to/source /path/to/target
cp --backup=numbered /path/to/source /path/to/target
cp -R --backup=existing --suffix=.orig -t /path/to/source /path/to/target
It's a large folder (700GB) which contains a lot of old files. The third command "kinda" worked (on some files), but I noticed that it didn't work on certain other files, since I left the PC on tonight to transfer the files and checked if it had overwritten anything (which it had).
Thank you for your help.