by brana » Thu Oct 01, 2015 7:06 pm
Here is my scenario.
I am copying files from C:\ to D:\. And after copy complete, I use BRC to rename it. I cannot rename originals in C:\.
Lets say I am copying file C:\ABC#.txt to D:\. Once copy is complete. There will be ABC#.txt in both C:\ and D:\. After copying I run following command to remove symbols from file names. Which will rename ABC#.txt to ABC.txt
Command > BRC32 /DIR:"D:\ABC#.txt" /STRIPSYMBOLS /NODUP /EXECUTE
Now lets say I updated C:\ABC#.txt. Again copy file it to D:\ABC#.txt. There will be now 2 files D:\ABC.txt and D:\ABC#.txt. Run BRC command again. But now since D:\ already have ABC.txt, BRC will rename ABC#.txt to ABC_1.txt (If ABC_1.txt already exist, it will rename ABC_2.txt or ABC_3.txt and so on)
Your suggestion is to delete ABC_1.txt or so. That way I won't get updated ABC.txt in D:\. On top of that what if I already have ABC_1.txt which may be completely different file and content. In that case BRC will create ABC_2.txt file. And I will end up deleting ABC_1.txt as well as ABC_2.txt.
I hope this makes sense. I wish BRC had options to overwrite instead of renaming to _1 or _2.