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

sql - Return Function using Cursor -

c++ - why does this code produce a runtime error? -

javascript - Is there any way to add a new parameter to a function programmatically? -