aMule Forum
English => aMule Help => Topic started by: hopelessone on January 24, 2008, 03:41:18 PM
-
Hi Ya,
ExecOnCompletionCommand=sh -c '~/example.sh "%FILE" %HASH'
~/example.sh <-- is this a script i can make?
i.e. i wanna make all .mp3 files go to /music folder and movies to go to /movie folder upon completed download
so....
ExecOnCompletionCommand=~/example.sh
thanks..
-
You could do that by creating categories, but it would not be automatic.
There is no ExecOnCompletionCommand, as far as I know. I have:
[UserEvents]
[UserEvents/DownloadCompleted]
CoreEnabled=1
CoreCommand=doneDL.sh "%NAME" "%FILE" %HASH %SIZE "%DLACTIVETIME"
GUIEnabled=1
GUICommand=kdialog --title "aMule Download Completed" --passivepopup "%NAME" 10
doneDL.sh is a script I wrote which is on the path. You can easily play with bash and filter by extension. If you wish, please post your work here.
Cheers!