CaffeinatedCatatonic has asked for the wisdom of the Perl Monks concerning the following question:
I have a number of Windows file servers (hundreds) to search for folders with specific characteristics. As the top level directories differ on each server I'm looking for a method where I can ask each server for it's top level share names. File::Find unfortunately doesn't walk the top of windows file shares. I'd like my input to be only a list of file servers and have my programs find everything from that. My servers are a mix of Windows versions and clients are also windows-based. Most clients are Windows 7 and up.
Thanks for your guidance in advance.
I wanted to thank Anonymous Monk for the Net View suggestion. We have hundreds of servers and workstations here with exported shares and most of these are not mounted on a drive letter. My intention here was to find a server and identify each share on the system and then walk that share with File::Find. File::Find works great except it fails to find the \\server\sharename at the root of the tree. Net View allowed me to quickly remedy my search. TIA.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Identifying Windows file share names
by Discipulus (Canon) on Oct 29, 2018 at 19:43 UTC | |
|
Re: Identifying Windows file share names
by Lotus1 (Vicar) on Oct 29, 2018 at 19:30 UTC | |
by Anonymous Monk on Oct 29, 2018 at 20:20 UTC | |
by Lotus1 (Vicar) on Oct 29, 2018 at 20:32 UTC | |
by Anonymous Monk on Oct 29, 2018 at 21:23 UTC | |
|
Re: Identifying Windows file share names
by Anonymous Monk on Oct 29, 2018 at 22:06 UTC | |
by Anonymous Monk on Oct 29, 2018 at 22:28 UTC | |
by Anonymous Monk on Oct 29, 2018 at 23:02 UTC |