in reply to How do I search for a specific directory on a remote PC?
Once you've made the connection (to "\\$cpu\C$"), File::Find should work the same as if the directory were local to the machine the perl script is running on. Your wanted sub is responsible for accepting or rejecting any particular directory entry (file or dir).
Try running a UNIX find1 with various command line options until you get it to do exactly what you want, then run find2perl with those same options.
1 There are a number of available UNIX-ish command sets for Win/DOS. My favorite is U/WIN.
dmm
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How do I search for a specific directory on a remote PC?
by Anonymous Monk on Jan 05, 2002 at 00:22 UTC | |
by Anonymous Monk on Jan 05, 2002 at 00:40 UTC | |
|
Re: Re: How do I search for a specific directory on a remote PC?
by thunders (Priest) on Jan 05, 2002 at 00:00 UTC |