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
Post a Comment