JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 13.12.2018, 04:54
Juggalo Juggalo is offline
JD Beta
 
Join Date: Mar 2011
Posts: 53
Default 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 04:56.
Reply With Quote
  #2  
Old 13.12.2018, 05:43
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

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
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #3  
Old 13.12.2018, 06:17
Juggalo Juggalo is offline
JD Beta
 
Join Date: Mar 2011
Posts: 53
Default

Perfect!

Thanks!
Reply With Quote
  #4  
Old 14.08.2021, 18:40
buggsy buggsy is offline
BugMeNot Account
 
Join Date: Mar 2009
Location: everywhere/nowhere
Posts: 1,120
Default

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?
Reply With Quote
  #5  
Old 15.08.2021, 03:08
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

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. :]
Reply With Quote
  #6  
Old 18.08.2021, 17:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,291
Default

@buggsy: In case you need further help with this, just let us know!
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 13:02.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.