Bulk Renaming

Associate
Joined
20 Aug 2007
Posts
1,333
Location
Solihull
Hey guys, very confused, has anyone ever used this?

http://www.bulkrenameutility.co.uk/Download.php

I basically want to select a file directory and auto rename EVERY folder and file that uses "&" in the title, because sharepoint online refuses to accept ampersands, however this is one of the most complicated things I've ever seen! XD

I'm attempting to do it on test folders, but it keeps renaming the entire folder "and", when all I want to do is convert all &'s to the word "and".

Does anyone know how this works or does anyone know a simpler piece of software? :)

Cheers,

Jamie
 
I use BRU quite a bit - it's not the most intuitive but it's powerful (especially if you can remember how to use regular expressions).
Glad you got it sorted :)
 
I use BRU quite a bit - it's not the most intuitive but it's powerful (especially if you can remember how to use regular expressions).
Glad you got it sorted :)

:D It's so useful, wish I had it a few weeks ago..spent the best part of 4 hours trawling through my MD's files looking for ampersands in every sub directory and file name D:

You know any useful tips you could pass on? I think BRU is going to be something I will be using a lot of, it seems invaluable to my job role as it can make so much file movement so much faster :)
 
I've used batch files combines with a spreadsheet in the past, while it's a little clunky it worked for me.

I'll check out BRU tho, sounds like a handy little program.
 
:D It's so useful, wish I had it a few weeks ago..spent the best part of 4 hours trawling through my MD's files looking for ampersands in every sub directory and file name D:

You know any useful tips you could pass on? I think BRU is going to be something I will be using a lot of, it seems invaluable to my job role as it can make so much file movement so much faster :)

Not sure where to start with tips without knowing what sort of things you want to do. If you are working in multiple directories, have you spotted the "subfolders" tick-box which will recurse through all subfolders from the specified point? You can also drag and drop files from explorer into BRU which can be handy.
 
Not sure where to start with tips without knowing what sort of things you want to do. If you are working in multiple directories, have you spotted the "subfolders" tick-box which will recurse through all subfolders from the specified point? You can also drag and drop files from explorer into BRU which can be handy.

Yeah the subfolders thing is brilliant, it looks terrifying when you first open it, so many options and fields to fill in!

Then when you slow down and read through it, it's like.. oh that makes perfect sense :)
 
Could have been done in powershell if you didn't want to use a 3rd party program.

Code:
$dir = "C:\mydir"

cd $dir
Get-childItem | % {rename-item $_.name ($_.name -replace '&','and')}

Can be modified as required for multiple directories, make it recursive, do hidden files/folders.

Glad you got the program working though :)
 
You're welcome.

Powershell is very useful for things like this, and its baked into Windows now, particularly Windows Server, so getting to know some of it can be handy.
 
You're welcome.

Powershell is very useful for things like this, and its baked into Windows now, particularly Windows Server, so getting to know some of it can be handy.

Just to check, a recursive rename including sub folders would be:

$dir = "C:\mydir"

cd $dir
Get-childItem -recurse | % {rename-item $_.name ($_.name -replace '&','and')}

or am I wrong? :P
 
Looks ok.

You can get help on any cmdlet in powershell by typing Get-Help <cmdlet> (e.g. Get-Help Get-ChildItem). It works like man in unix.
 
Back
Top Bottom