JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 25.02.2020, 09:29
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 170
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, 09:48
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,168
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, 14:11
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 170
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, 14:24
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 53,511
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
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || 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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #5  
Old 25.02.2020, 15:03
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 170
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 15:08.
Reply With Quote
  #6  
Old 25.02.2020, 15:20
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 53,511
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
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || 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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #7  
Old 25.02.2020, 15:20
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,168
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, 16:04
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 170
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, 17:22
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 53,511
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
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || 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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #10  
Old 26.02.2020, 04:46
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 170
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, 11:53
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,168
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, 16:17
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 53,511
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
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || 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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #13  
Old 27.02.2020, 23:20
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 170
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, 16:28
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 53,511
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
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || 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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #15  
Old 07.03.2020, 01:56
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 170
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 12:41.
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 - 2020, Jelsoft Enterprises Ltd.