#1
|
|||
|
|||
Run Script after extraction?
Hello,
is it possible to let run an own script, after successfull deep-extraction of the archives? I want to delete all *.jpg, *.gif and *sample*mkv How to do that? Last edited by mensa; 30.01.2020 at 12:42. |
#2
|
||||
|
||||
are you just basing it on filename? if so there is a settings within archive extraction extension module allows you to ignore based on filename.
settings > archive exactor > don't unpack files matching....
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
|||
|
|||
Cool, thanks. I found that in the meantime also, but what I did forget to mention before is: I want to do delete that files only for movie downloads.
So I would first check if the new folder contains a *.mkv and only if yes -> then delete all *sample*, *jpg*. Is that also possible? |
#4
|
||||
|
||||
sorry there is no conditional rule support with the built in function. The best thing you could do is check with event scripter post extraction, 'after extraction finished' event.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#5
|
|||
|
|||
Thank you, in which language do I have to write the commands for post extractor? Java?
|
#6
|
||||
|
||||
event scripter, runs off javascript.
show/hide help will give you all the supported functions.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
Thread Tools | |
Display Modes | |
|
|