Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Improvement tip
On Fri, 14 Sep 2001 14:30:21 +0200, Emil Naepflein
<Emil.Naepflein@philosys.de> wrote:
> The third should be easy to implement and be considerably faster than
> the find command. How is this:
> #define FINDCMD "cd %s; ls -d %s 2> /dev/null | sort -df"
>
> I will try the last one this evening.
#define FINDCMD "ls -d %s/*/%s 2> /dev/null | sort -fd"
The above command works fine for me and seems to be faster.
I use a modified version which sorts the name beginning with '%' to the
end of the list.
Emil
Home |
Main Index |
Thread Index