JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 21.09.2021, 15:17
FiskX FiskX is offline
Baby Loader
 
Join Date: May 2021
Posts: 5
Default Ordner beim Entpacken ausschließen

Hi,

ich versuche schon länger bestimmte Order in RAR Dateien beim automatischen entpacken auszuschließen, aber es funktioniert einfach nicht.

Kann mir jemand den genauen Befehl sagen den ich da eintragen muss?
Bei einzelnen Dateien funktioniert das Problemlos.
Reply With Quote
  #2  
Old 21.09.2021, 15:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 80,056
Default

Welche Ordner willst den ausschließen? Hast du eine BeispielRar/Link?
Dann können wir das prüfen und dir besser helfen. Ansonsten in den Einstellungen->Entpacker -> dort kannst du per Regex Pattern Dateien/Ordner/Namen vom Entpacken ausschließen
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 21.09.2021, 17:24
FiskX FiskX is offline
Baby Loader
 
Join Date: May 2021
Posts: 5
Default

Quote:
Originally Posted by Jiaz View Post
Welche Ordner willst den ausschließen? Hast du eine BeispielRar/Link?
Dann können wir das prüfen und dir besser helfen. Ansonsten in den Einstellungen->Entpacker -> dort kannst du per Regex Pattern Dateien/Ordner/Namen vom Entpacken ausschließen
Genau da versuche ich ja die Namen einzutragen. Ich habe einfach zum testen eine Rar erstellt wo der Ordner "Test" drin ist.
Aber egal wie ich den Name dort eintrage, er wird trotzdem entpackt.

Test
\Test\
\test\*

Die habe ich bis jetzt probiert, wo ist da der Fehler?^^
Reply With Quote
  #4  
Old 21.09.2021, 18:27
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 80,056
Default

@FiskX: Pfad Trennzeichen ist / statt \
/Test/.* sollte zb klappen
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 21.09.2021, 19:21
FiskX FiskX is offline
Baby Loader
 
Join Date: May 2021
Posts: 5
Default

Quote:
Originally Posted by Jiaz View Post
@FiskX: Pfad Trennzeichen ist / statt \
/Test/.* sollte zb klappen
Mit / klappt es leider auch nicht. Egal ob ich vorne oder hinten Sternchen mache oder weglasse :(

Bei Dateien geht zb .*\.txt problemlos, aber das mit den Ordnern will einfach nicht klappen^^
Reply With Quote
  #6  
Old 21.09.2021, 19:33
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,567
Default

Pattern (regex) should match full filepath. Try:
Code:
.*\\test\\.*
Reply With Quote
  #7  
Old 21.09.2021, 21:36
FiskX FiskX is offline
Baby Loader
 
Join Date: May 2021
Posts: 5
Default

Quote:
Originally Posted by mgpai View Post
Pattern (regex) should match full filepath. Try:
Code:
.*\\test\\.*
Thanks it works
Reply With Quote
  #8  
Old 22.09.2021, 09:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 80,056
Default

@mgpai: Thanks!
@FiskX: sorry, forgot about different path delimiter on OS
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 18.05.2024, 07:27
Displaytel Displaytel is offline
Baby Loader
 
Join Date: May 2024
Posts: 6
Default

This thread is a little older, but I have the same issue, try to not get Folders or Files extacted with the name "Sample" or .sample no .sfv files as well, but with this hint above ".*\\test\\.* changed to sample, sfv etc. it is still not working, is this a different command on Windows 11 latest JD installed.?

Tried to work with the examples given in the program directly, but it did not work either.
Reply With Quote
  #10  
Old 18.05.2024, 07:48
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 80,056
Default

@Displaytel: can you provide example link/archive for testing and what you set in settings.
Worked last time, see https://board.jdownloader.org/showpo...99&postcount=7 and no changes since then, so most likely something wrong with the pattern, so please provide the setting you have tried
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 18.05.2024, 08:07
Displaytel Displaytel is offline
Baby Loader
 
Join Date: May 2024
Posts: 6
Default

Quote:
Originally Posted by Jiaz View Post
@Displaytel: can you provide example link/archive for testing and what you set in settings.
Worked last time, see **External links are only visible to Support Staff**... and no changes since then, so most likely something wrong with the pattern, so please provide the setting you have tried
Hi again,

well in the meantime after my 1st post, I looked at the examples again and found my mistake

.*\.sf?v

This works well, and now the second mistake was, I tried the .*\\test\\. with the samples and used a small "s" at the beginning, should have been capital S. "Sample"

Long story short, it now works, thanks again.
Reply With Quote
  #12  
Old 18.05.2024, 08:20
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 80,056
Default

Thanks for the feedback and great to hear that you could solve it by yourself
You can use the modifier (?i) to make the pattern case insensitive
Quote:
(?i).*\\sample\\.*
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 25.05.2024, 10:18
Displaytel Displaytel is offline
Baby Loader
 
Join Date: May 2024
Posts: 6
Default

I forgot to ask this the last time, is there also a way to delete .txt files that have a certain word in the title as a trigger?
Reply With Quote
  #14  
Old 25.05.2024, 12:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 80,056
Default

@Displaytel: you mean a .txt file that have xyz in filename? do you mean that by "certain word in the title"? if so, sure, can you provide your wish xyz ?

for example
Code:
(?i).*/[^/]*xyz[^/]*\\.txt
should work, but maybe the path seperator must be changed to
Code:
\\
__________________
JD-Dev & Server-Admin
Reply With Quote
  #15  
Old 25.05.2024, 18:28
Displaytel Displaytel is offline
Baby Loader
 
Join Date: May 2024
Posts: 6
Default

Yes, just certain words in the filename

Thanks again the first string works

Last edited by Displaytel; 25.05.2024 at 18:53.
Reply With Quote
  #16  
Old 25.05.2024, 21:22
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 80,056
Default

Quote:
Originally Posted by Displaytel View Post
Thanks again the first string works
Thanks for the feedback and you're welcome!
__________________
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 07:32.
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.