#1
|
|||
|
|||
![]()
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. |
#2
|
||||
|
||||
![]()
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 |
#3
|
|||
|
|||
![]() Quote:
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?^^ |
#4
|
||||
|
||||
![]()
@FiskX: Pfad Trennzeichen ist / statt \
/Test/.* sollte zb klappen
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
![]()
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^^ |
#6
|
|||
|
|||
![]()
Pattern (regex) should match full filepath. Try:
Code:
.*\\test\\.* |
#7
|
|||
|
|||
![]() Quote:
![]() |
#8
|
||||
|
||||
![]()
@mgpai: Thanks!
@FiskX: sorry, forgot about different path delimiter on OS
__________________
JD-Dev & Server-Admin |
#9
|
|||
|
|||
![]()
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. |
#10
|
||||
|
||||
![]()
@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 |
#11
|
|||
|
|||
![]() Quote:
![]() 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. |
#12
|
||||
|
||||
![]()
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:
__________________
JD-Dev & Server-Admin |
#13
|
|||
|
|||
![]()
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?
|
#14
|
||||
|
||||
![]()
@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 Code:
\\
__________________
JD-Dev & Server-Admin |
#15
|
|||
|
|||
![]()
Yes, just certain words in the filename
Thanks again the first string works ![]() Last edited by Displaytel; 25.05.2024 at 18:53. |
#16
|
||||
|
||||
![]()
Thanks for the feedback and you're welcome!
__________________
JD-Dev & Server-Admin |
![]() |
Thread Tools | |
Display Modes | |
|
|