|Syntactic Confectionery Delight|
tree backup script - file type problemby barathbr (Scribe)
|on Sep 07, 2004 at 23:05 UTC||Need Help??|
barathbr has asked for the wisdom of the Perl Monks concerning the following question:
I am just in the process of writing a little script to back up specific files from multiple servers on my network. The problem is that some of the files dont have standard extensions. (e.g) I could have a binary with no extension or a cap file named as .txt.
My question is, is there a module which gives output similar to the `file` command ?? I am on windows with A perl 5.8
pl. note I have hunted on cpan for modules, but just wanted to make sure I am using a standar module which people know works
Also, is there a simple way to access windows shares from within a script. I am currently just mapping a drive to the $ share within windows and hardcoding the path. That just increases my login time like crazy.