title: Auto rename file when copy
body: <p>I want to copy a file to another location by <code>cp C:/code.txt D:/code.txt</code> ,any way to auto rename to <code>code(2).txt</code> or another name ,if <code>code.txt</code> was exist in D directory .Thanks much for any help ! </p>