JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 04.05.2018, 12:38
nrvn
Guest
 
Posts: n/a
Default Help with renaming

Hi good people, I'd like to quickly rename a batch of files from a URL.
All the files are from the same place, and what I'd like to do is to rename each file as a part of the URL's previous directory.
For instance, if the link is:

**External links are only visible to Support Staff****External links are only visible to Support Staff**

I'd like to rename it to 32541.jpg

There are about a thousand files. If this is more complicated than it appears, an option where I could define each files name (all at once, not by each file) could work too.
Thank you!
Reply With Quote
  #2  
Old 04.05.2018, 13:37
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,914
Default

You can use the packagizer (Settings-Packagizer) and create rules that auto rename the files when you add them.I can help creating a rule but need real working example links. You can either post them here or send to support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 04.05.2018, 13:39
nrvn
Guest
 
Posts: n/a
Default

**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**
**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**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #4  
Old 04.05.2018, 13:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,914
Default

And what should the final filename look like?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 04.05.2018, 13:48
nrvn
Guest
 
Posts: n/a
Default

3.jpg
4.jpg
5.png
6.png
7.jpg
8.jpg
9.jpg

But the links continue and the order isn't strict, so it could be 10, 11, 20312, 24444, 90331, and similar.
Reply With Quote
  #6  
Old 04.05.2018, 15:26
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,914
Default

Settings-Packagizer
Create rule
downloadURL - contains - .*agentsdata\.com\.au/data/(\d+)/.*
enable checkbox

set filename - <jd:hoster:1>.<jd:orgfiletype>
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 04.05.2018, 16:29
nrvn
Guest
 
Posts: n/a
Default

Huge thanks, I really appreciate the help!
Reply With Quote
  #8  
Old 04.05.2018, 16:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,914
Default

You're welcome! If you need any further help, don't hesitate and contact us again
__________________
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 23:54.
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 - 2025, Jelsoft Enterprises Ltd.