Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Perl script to list recordings



Emil Naepflein wrote:
...
> 	File::Find::finddepth({wanted => \&wanted}, $file);

is there an option like "-follow" on the "find" shell command
that follows symbolic links?


/video on my vdr look like this:

lrwxr-xr-x    1 cko      users          14 Jun  9  2002 Action -> /video2/Action
drwxr-xr-x   27 cko      users        4096 Dec 20 02:39 Comedy
lrwxr-xr-x    1 cko      users          15 Jun  9  2002 Fantasy -> /video2/Fantasy
drwxr-xr-x    6 cko      users          75 Nov 23 02:03 Horror
lrwxr-xr-x    1 cko      users          16 Jun  9  2002 Kids -> /video3/vdr/Kids
drwxr-xr-x    7 cko      users         152 Dec 16 01:03 Misc
drwxr-xr-x   11 cko      users        4096 Nov 13 21:14 Music
drwxr-xr-x   11 cko      users        4096 Dec 20 02:39 SciFi
lrwxr-xr-x    1 cko      users          15 Jun  9  2002 Science -> /video2/Science
lrwxr-xr-x    1 cko      users          21 Oct 27 20:43 Thriller -> /video3/vdr/Thriller/

so some top-level folders are on other disks and your script
does not traverse them.

Carsten.



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index