Renamed Files and Folder count

Post any Bulk Rename Command support requirements here. Open to all registered users.

Renamed Files and Folder count

Postby brana » Thu Oct 01, 2015 7:23 pm

Hi,

I am not sure if this is a duplicate thread. But could not found anything related so far.

Is there a way to find the total number of files and folders (including sub-folders and files) that are renamed? I am using BRU command.

Thanks,
brana
brana
 
Posts: 6
Joined: Wed Sep 30, 2015 9:39 pm

Re: Renamed Files and Folder count

Postby Stefan » Mon Oct 05, 2015 11:49 am

Hi,

what do you mean by """that are renamed?"""

Do you mean "in total", like since using BRU, or like that?

If you perform a renaming, you are prompted anyway (maybe disabled? See menu Options > Display > ...)

Another thing is you can enable a log feature, see Options menu too. Than you can count the lines in the log file, I guess.



Maybe you can clarify what you are after?



 
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU

Re: Renamed Files and Folder count

Postby brana » Mon Oct 05, 2015 2:36 pm

Thanks for the reply.

Actually I wanted to count the number of folders that are renamed and number of files that are renamed.
Like: Total Folders renamed = 1, Total Files renamed = 2

I am using 32 bit BRC command. Here is my scenario:
C:\>BRC32 /DIR:"C:\TestFolder" /STRIPSYMBOLS /NODUP /EXECUTE

When I run this command the I get output like this:

Processing Folder C:\TestFolder\
Filename TestFolder requires no change
Filename BRC_Unicode_64.zip renamed to BRCUnicode64.zip

Processing Folder C:\TestFolder\Microsoft.Bcl.1.1.7\
Filename Microsoft.Bcl.1.1.7 renamed to MicrosoftBcl11.7
Filename ABC - Text.pptx renamed to ABC Test.pptx
Filename TestDB.pptx requires no changes

Here, Microsoft.Bcl.1.1.7 is renamed, so total folders renamed = 1.

and BRC_Unicode_64.zip and ABC - Text.pptx are renamed, so total files renamed = 2.

Note that the output says Filename for folders also. I hope this makes sense.
brana
 
Posts: 6
Joined: Wed Sep 30, 2015 9:39 pm

Re: Renamed Files and Folder count

Postby Stefan » Tue Oct 06, 2015 8:51 am

Thanks for clarifying.

>>Actually I wanted to count the number of folders that are renamed and number of files that are renamed.
>>Like: Total Folders renamed = 1, Total Files renamed = 2

I am not aware of such feature of BRC.


If I really would need that, I would do a workaround:
- get a list of all files and folders
- do the name manipulation with BRC
- get a list of all files and folders
- create a diff of both lists.
Not nifty and not nice, but could work.



>>Note that the output says Filename for folders also. I hope this makes sense.
Yes, makes sense. A folder is a FILE with a special *Directory* attribute. Nothing more. Basically.
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU

Re: Renamed Files and Folder count

Postby brana » Tue Oct 06, 2015 2:30 pm

Thanks Stefan for your suggestions.
brana
 
Posts: 6
Joined: Wed Sep 30, 2015 9:39 pm


Return to BRC Support