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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -