How to move files or directories without overwriting in Linux mv command?

You can use Linux mv command with -n or –no-clobber option to not overwrite destination file/directory. If -i -n and -f options are provided together with mv command only the final option gets effective.

Leave a Reply