Hi All,
I have written a script to scan entire linux filesystem using File::Find. However, the filesystem has NFS mounts and the find module traverses the NFS mount as well and therefore takes hours to complete.
Can you help me with a way of specifying options for File::Find that will ignore NFS mounts so that scanning completes much faster. I am not interested in scanning NFS filesystem.
On a linux system we would typically do this using the following find options -
\( -fstype nfs -o -fstype autofs \) -prune
I am looking for similar options in perl.