aMule Forum

English => aMule Help => Topic started by: titi75011 on September 19, 2014, 02:13:50 PM

Title: filter amulecmd results
Post by: titi75011 on September 19, 2014, 02:13:50 PM
Hi,

I would like to filter amulecmd result after a search. I didn't find a way to do it with the "search" of amulecmd therefore I'm trying to do it with a script :
echo Results > tmp
amulecmd -c results | grep "my key work for filter" | awk -F '.' '{print "download " $1}' >> tmp
cat tmp | amulecmd

My problem is that the result name returned by "amulecmd -c results" is limited to 77 char. Which is not enough.

Is there a way to change this "77" value? Or an other way to implement filters?

Thanks
Title: Re: filter amulecmd results
Post by: Stu Redman on September 19, 2014, 09:01:58 PM
What do you want to accomplish? Download everything that matches some pattern? That doesn't make sense to me.
Title: Re: filter amulecmd results
Post by: titi75011 on September 21, 2014, 07:29:33 PM
my problem comes from the fact the result's name are truncated. I made a request here : http://forum.amule.org/index.php?topic=20687.0