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 - Performance of System() -

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

c++ - How to define methods in a base class that only work in derived classes? -