It is currently March 29th, 2024, 4:55 am



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Extra word in filenames.
PostPosted: February 12th, 2020, 1:22 pm 

Joined: January 5th, 2012, 5:53 am
Posts: 105
I am replacing old links to new links.
http://old_url/steven.link1.mp4
http://old_url/steven.link2.mp4

Unfortunately, my new links has this fomart.
http://new_url/link1.mp4
http://new_url/link2.mp4

I want to use'Try to match by filename in the URL' option.
Is there any option to ignore 'steven' work in filename?
If not, what is the best solution for me now? because I have 2800 files with same format.

I cannot add delimiter for each file, since it takes long time and very hard work.
Is there any option to mass add, 'steven' word to .mp4 files or urls?

or else,
these files are in computer, is there any option to add word 'steven' to files while uploading in themaCreator? so that, they can be replaced themamanager with 'Try to match by filename in the URL' option.


Top
 Profile  
Reply with quote  
 Post subject: Re: Extra word in filenames
PostPosted: February 12th, 2020, 1:47 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
You can add "steven" to filenames in themaCreator.

In "REPLACEMENTS" tab -> "Subject" tab -> choose type "Filename":

Search for:
Code:
^


Replace with:
Code:
steven.


Enable regex search.


For links which you already have, just save all of them in one .txt file, then use txt editor which has regex search option (like Notepad++) and do "Search and replace" (CLRT+H):

Search for:
Code:
(https?://.+?/)(.+)


Replace with:
Code:
$1steven.$2


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC