JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 05.03.2017, 12:39
shallow2 shallow2 is offline
JD Beta
 
Join Date: Sep 2012
Posts: 57
Default Auto rename too long filenames

Hi

When I try to download all Pictures from a tumblr thread, alot of the filenames are too long, and i get error 'invalid download directory'

Is there any way to set JD to shorten names automatically ?
Reply With Quote
  #2  
Old 05.03.2017, 13:30
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

yes, use package customiser rule. or event scripter rule.

both have been covered on the forum before.
__________________
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 06.03.2017, 14:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

You can enable original filename in Settings-Plugins search for tumblr.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 09.05.2017, 02:06
cayley
Guest
 
Posts: n/a
Default

I have find out that Long Path Tool is very usefull with this kind of problems, you should try it and tell us if it worked.
Reply With Quote
  #5  
Old 09.05.2017, 08:48
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

What does this tool do? source?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 24.05.2017, 00:24
s25jin s25jin is offline
Modem User
 
Join Date: May 2016
Posts: 3
Default

how to used?
Reply With Quote
  #7  
Old 24.05.2017, 08:24
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

Quote:
Originally Posted by s25jin View Post
how to used?
What do you mean? Can you please explain?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 26.05.2017, 00:22
s25jin s25jin is offline
Modem User
 
Join Date: May 2016
Posts: 3
Default

i Can't understand how to fix "long File name ".
For example, " Rule or script ".
Please let me know where Help is.
Reply With Quote
  #9  
Old 26.05.2017, 17:12
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

Quote:
Originally Posted by raztoki View Post
yes, use package customiser rule. or event scripter rule.

both have been covered on the forum before.
Please use board search for help
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 30.03.2021, 02:45
duy duy is offline
Modem User
 
Join Date: Nov 2018
Posts: 1
Default

Found it: https://board.jdownloader.org/showpo...39&postcount=2

Quote:
Originally Posted by Jiaz View Post

Create a packagizer rule
Enable *Match on any File or Link...* - First Checkbox
Enable Filename - contains - ((.{9}).*) - enable regex checkbox at right side
...then set
Enable Filename - <jd:orgfilename:2>.<jd:orgfiletype>

This will limit filenames to max length of 9 ;) you can change number yourself to your needs

Thanks Jiaz!
Reply With Quote
  #11  
Old 30.03.2021, 13:41
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

@duy: you're welcome
Out of interest, why still use such old filesystem?
__________________
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 03:18.
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.