Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: command to get all vdr-dirs
On Sun, 30 Mar 2003, Gerhard Steiner (GS) wrote:
GS> So I would need a command to list all these directories
GS> within a list.
GS> How can this be done?
GS> All the directories should be displayed till the level of
GS> e.g. 2003-03-15.22.13.50.50.rec
GS> e.g. if there is the directory
GS> /video/Agatha_Christie#3A_Mord_#E0_la_Carte/2003-03-15.22.13.50.50.rec
GS> it should be displayed as
GS> /video
GS> /video/Agatha_Christie#3A_Mord_#E0_la_Carte
GS>
GS> and so on.
GS> Maybe it could be as simple as "find /video -follow -type d
GS> -name '*.*'"
try to pipe the output of find through something like
grep -vEe ".(rec|del)$"
i.e.
find /video -follow -type d | grep -vEe ".(rec|del)$"
c ya
Sergei
--
-------------------------------------------------------------------- -?)
eMail: Sergei.Haller@math.uni-giessen.de /\\
-------------------------------------------------------------------- _\_V
Be careful of reading health books, you might die of a misprint.
-- Mark Twain
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index