Page 1 of 1

BRC: How to overwrite existing files

PostPosted: Thu Aug 12, 2010 11:21 am
by joef
Hi,

I am new to the Bulk Rename Command tool. After a long term of seraching, it seems to me that i found what i've looking for. Now i've one question: How can i overwrite an exisiting file? I don't found the right option for it. Maybe someone can give me an advice?

Best regads,
Jochen

Re: BRC: How to overwrite existing files

PostPosted: Thu Aug 12, 2010 9:08 pm
by Stefan
What do you mean by "i overwrite an exisiting file" ?

I guess you want to rename B.ext to A.ext, but A already exists and you want to overwrite that A with the renamed B ?

Well, i don't know. I never tried it. Is there nothing in the help?

Re: BRC: How to overwrite existing files

PostPosted: Wed Sep 30, 2015 9:45 pm
by brana
Hi,

Did anybody found the answer ? I am in the same boat now. I don't want to create another file name with _1 appended to the file name. I just want to replace if the file already exist after renaming.

I don't see anything about this in manual or help.

Regards,
Rana

Re: BRC: How to overwrite existing files

PostPosted: Thu Oct 01, 2015 8:57 am
by Stefan
Once again for clarifying, so we talk about the same thing:

You have e.g.
AAnew.ext
BAnew.ext
CAnew.ext

Now you remove first char on all files, and so get three times Anew.ext,
which overwrite each other and leave you with one single file instead of three?

Make that sense? Me think this is Russian roulette?
You will never know which file we be kept and which are dropped.

If BRC adds this '_1', that is fine, than just search afterwards for such files and delete them.


 

Re: BRC: How to overwrite existing files

PostPosted: Thu Oct 01, 2015 7:06 pm
by brana
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.

Re: BRC: How to overwrite existing files

PostPosted: Mon Oct 05, 2015 11:43 am
by Stefan
OK, I see. Thanks for clarifying.

I have no idea for the moment...
It seems that would be a improvement request.



If I got an idea, I will post it here.