Page 1 of 1

Remove Text

PostPosted: Mon Apr 14, 2014 3:16 pm
by ArcticPrince
I have ripped lots of DVD's and the files are all saved by name and the text "rippedbyxxxxxx".avi I would like to just remove the text rippedbyxxxxx and leave the rest of the file name alone. I am sure that it must be dead simple, but I have spent at least 45 minutes trying different things and still don't have a clue. I have about 400 files and sure would like to do a whole bunch at once instead of one at a time.

Thanks

Remove Text

PostPosted: Wed Apr 16, 2014 9:23 am
by truth
brc32 /nofolders /pattern:*rippedbyxxxxxx.* /regexp:(.*)rippedbyxxxxxx$:\1:

It matches OrigNames ending as: rippedbyxxxxxx & removes it from NewName
If you wish to only affect .avi's, change .* --> .avi in /pattern

There is a /removewords: parameter that could work for you, but its not selective like /regexp:
(It always removes any/all occurences of the text-string, so I hesitate to mention it).

Re: Remove Text

PostPosted: Wed Apr 16, 2014 12:34 pm
by ArcticPrince
Appreciate the info, but I found a different program that seems much less convoluted and it worked its magic as I wished.

Remove Text

PostPosted: Fri Apr 18, 2014 9:52 pm
by truth
No worries, sounds like commandline-apps arent the best choice for you.
They will always require such typed paramater-usage at the prompt.
The example only spec'd 3 params, nothing should seem convoluted (unless unfamiliar with regex).

So long as you found something that works for you, that's what matters.
Note there's also a graphical version of BRC avail --- To each his own.