Batch replace /remove 'file' from list.txt

Javascript renaming examples. Javascript renaming is supported in version 3 or newer.

Batch replace /remove 'file' from list.txt

Postby u307911 » Wed Jul 21, 2021 4:24 pm

I have a list called videolist.txt Here it is.
file 'abc.mp4'
file 'def.mp4'
file 'hij.mp4'

I want to remove 'file' from each line in the above file called videolist.txt. If I used Bulk rename Utility(which is great), I was have to import videolist.txt as a new paired list as from
file 'abc.mp4' to 'abc.mp4'

Posts: 1
Joined: Wed Apr 21, 2021 1:45 pm

Re: Batch replace /remove 'file' from list.txt

Postby therube » Thu Jul 22, 2021 4:22 pm

Is there a question here?

Are you looking to rename the file names themselves or the names in the file, videolist.txt?
If the former, BRU can do that.
If the latter, you'd want a text editor (%s/^file //).


5:Remove, First 5
3:Replace, Replace: file<sp> (& leave With, empty)
Posts: 1013
Joined: Mon Jan 18, 2016 6:23 pm

Return to Javascript Renaming