in reply to File::Find & smb mounted drive

I tested your code on my machine (also with a mounted mp3 directory :) and had the same problem. When I stepped through with the debugger, I saw that File::Find was getting 1 for nlink instead of 2, so I tried setting $File::Find::dont_use_nlink = 1; as suggested in File::Find for AFS, and the script worked. (Also I fixed the capitalization of $File::Find::name.) Enjoy!

Replies are listed 'Best First'.
Re: Re: File::Find & smb mounted drive
by the_slycer (Chaplain) on Dec 12, 2000 at 00:08 UTC
    ++chipmunk

    That worked perfectly.