bash - Auto rename file when copy -


I copy a file to another location by cp C: /code.txt D: /code.txt I want to do , code (2) .txt or any other way to rename any other name, if it exists in the code.txt D directory Was there. Many thanks for any help!

I got this answer cp --backup = numbered C: /code.txt D: /code.txt .

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -