#1
|
|||
|
|||
Auto Rename Files packagizer
I'm trying to create a Packagizer rule to rename files, when added to link grabber.
There are files that have "Invictus.ws_" Example links: **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** I want to remove "Invictus.ws_" & have everything after it stay. So far I have: Conditions match... File Name - Contains: "Invictus.ws_" Then set... Filename: I don't know what to put in then set... filename I have searched the forum, but haven't figured it out. I must have missed something. What do i need to put in then set... filename? Thanks, Juggalo Last edited by Juggalo; 13.12.2018 at 03:56. |
#2
|
||||
|
||||
This is an example how to remove your string:
Basically this sets everything after "Invictus.ws_" as new filename. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
Perfect!
Thanks! |
#4
|
|||
|
|||
I have a similar scenario but the string I want to delete is at the end of the filename. Is there a way to do that? Delete it if "invictus.ws_" was at the end of the filename but before the filetype?
|
#5
|
||||
|
||||
use another wildcard at the beginning? and add the respective <jd:orgfilename:2> reference also, as there are two.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#6
|
||||
|
||||
@buggsy: In case you need further help with this, just let us know!
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|