JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 25.02.2020, 10:29
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 174
Default Packagizer after thought

I got a bunch of files renamed and downloaded. Could it be used and apply a new rule to renames these files again. Plus i made some misspelling error as well.

I had them as 'File Name 2020.02.25.pdf'
now file is downloaded want to rename again to '2020.02.25 File Name.pdf'

I see that I can manually rename these files one by one via 'F2' but don't see option to rename selected files/files in package.
Reply With Quote
  #2  
Old 25.02.2020, 10:48
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,659
Default

within download tab, highlight/select right click rename, you can mass rename assuming there is a pattern.

else package customiser can be used todo this task automatically, once again pattern needs to be present todo this.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 25.02.2020, 15:11
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 174
Default

The pattern is: 'File Name - Author - Genre - Published Year.pdf'

What is the regex to move things around to: 'Published Year - Genre - Author - File Name'

I was able to do this before downloading with Packagizer.
Thanks
Reply With Quote
  #4  
Old 25.02.2020, 15:24
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,045
Default

You do not necessarily need a RegEx for that.
You can work with wildcards.
Please note that:
- Making examples without real testlinks is not easy for us and they may not ft on your URLs/filenames
- This simple rule may fail if any of the data you want also contains "-"
- This rule should also only be appended on one specified source host (not like in my example, on all filenames)
- This rule will only work for filenames with .pdf ending --> You may change that if needed


-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
  #5  
Old 25.02.2020, 16:03
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 174
Default

I think we have a misunderstanding. I'm somewhat familiar with packagizer when adding new urls.

How do you that After the Files Already Downloaded, hence, 'Packagizer after thought'

I'm referring to renaming files already existed in 'Downloads' tab

Last edited by zreenmkr; 25.02.2020 at 16:08.
Reply With Quote
  #6  
Old 25.02.2020, 16:20
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,045
Default

Hm ideed I did not see that.
It might be similar to this:
https://board.jdownloader.org/showth...+replace+regex

Example RegEx (without the replace part):
Code:
(.*?) - (.*?) - (.*?) - (.*?)\.pdf
Forgot to add: You can also use the wildcards.

You should backup your downloadlist/URLs before!

-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
  #7  
Old 25.02.2020, 16:20
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,659
Default

use my method, mass select, right click rename. use psp wildcard rule
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #8  
Old 25.02.2020, 17:04
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 174
Default

@pspzockerscene @raztoki - simple enough thanks. It would be nice to be able to pipe one of the packagizer filters in the future.
Reply With Quote
  #9  
Old 25.02.2020, 18:22
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,045
Default

Quote:
Originally Posted by zreenmkr View Post
It would be nice to be able to pipe one of the packagizer filters in the future.
How? And where to?

Please explain.

-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
  #10  
Old 26.02.2020, 05:46
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 174
Default

So we are still talking about renaming existing files in 'Downloads' tab.

As I understand it, Packagizer at the moment could rename and organize when adding new urls. Why not utilize this extension to rename exist files that is either already in 'Downloads' or 'LinkGrabber' tabs.
Reply With Quote
  #11  
Old 26.02.2020, 12:53
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,659
Default

package customiser only works on entry into linkgrabber. It has no control over existing links in either download or linkgrabber tabs.

For entries already within the interface you must use the mass renaming function in the manner that I've mentioned previously.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #12  
Old 26.02.2020, 17:17
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,045
Default

Quote:
Originally Posted by raztoki View Post
package customiser only works on entry into linkgrabber. It has no control over existing links in either download or linkgrabber tabs.
As an additional information:
The packagizer has been designed the way it works now.
It is not intended to be used to modify existing download items.

-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
  #13  
Old 28.02.2020, 00:20
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 174
Default

got it.

Im curious, why a simple search/replace function is different among other modules? I find that search/replace via [Ctrl+H] in EventScripter has more options than that of Rename via [RighClick > Properties > Rename] in Downloads/LinkGrabber tabs.

Can't they be all be unified and have the same user experience across modules?
Reply With Quote
  #14  
Old 02.03.2020, 17:28
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,045
Default

Quote:
Originally Posted by zreenmkr View Post
Can't they be all be unified and have the same user experience across modules?
This is not planned.

I doubt many users are using the search replace at all ...

-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
  #15  
Old 07.03.2020, 02:56
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 174
Default

Quote:
This is not planned.
I see.
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:43.
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.