Replace End with Beginning + Space

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

Replace End with Beginning + Space

Postby zlmitchell » Sat Oct 06, 2012 3:27 pm

Hello Community,

I've been working on a script to make my video library migration cleaner. I want the BRC to change the only folder name and the the files inside it (All the files inside have the same name to begin).

This is what the folder's name looks like to start (Without Quotes)
"Title [2000]"

I would like it to look like this
"[2000] Title"

So that when i sort by title in the folder they sort by year. I have run into a couple issues so far. I dont know how to insert a "Space" cant find any documentation on it ... This is what i tried

/DIR:"DIRECTORY" /NOFILES /CUTLASTN:6 /INSERT: :7 /PASTEATSTART /TRIM

But then i get
Unrecognised Argument: ir
Unrecognised Insert Syntax: - Correct Syntax is /INSERT:Text:Pos
Unrecognised Parameter: :7
Unrecognised Argument: 7


Your help is appreciated!!!
zlmitchell
 
Posts: 3
Joined: Sat Oct 06, 2012 3:19 pm

Re: Replace End with Beginning + Space

Postby Stefan » Sat Oct 06, 2012 9:08 pm

I don't know how it works.

But perhaps try

/INSERT:" ":7



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

Re: Replace End with Beginning + Space

Postby zlmitchell » Sun Oct 07, 2012 1:07 am

Stefan wrote:I don't know how it works.

But perhaps try

/INSERT:" ":7



.

after doing that i only still get the:

Unrecognised Argument: ir

Which i think belongs to the Dir:"Directory"

i don't know why thats not working...
zlmitchell
 
Posts: 3
Joined: Sat Oct 06, 2012 3:19 pm

Re: Replace End with Beginning + Space

Postby zlmitchell » Sun Oct 07, 2012 1:13 am

Scratch that figured it out
This works!

/DIR:"DIRECTORY" /NOFILES /CUTLASTN:6 /INSERT:" ":START /PASTEATSTART /TRIM
zlmitchell
 
Posts: 3
Joined: Sat Oct 06, 2012 3:19 pm


Return to BRC Support