• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Perl File::Find

Gooberlx2

Lifer
I have a perl script that uses File::Find to recurse through a directory tree and does operations on all .dcm files. The script works fine on local hard disks, but I'm finding that with a NAS (lacie ethernet bigdisk 2TB) it will only recurse to the second directory level.

Files are located like this: /study/dicom/.dcm_files

but the script seems to only be recursing down to /study/dicom


Is this a limitation of SMB/CIFS, only returning two directory levels? Or Perl's File::Find, or the NAS in question?

Any ideas? On this NAS I have some 5385 study directories, with 5381 using the folder format mentioned above...containing some 2.4 million .dcm files that need to be processed. Fixing everything by hand in pretty much not a viable option.
 
Doh, asked for help just a little too early before I found it.

...it seems that I needed to set $File::Find::dont_use_nlink = 1;

Though it would appear, from the API, and what some people said at perlmonks, that's an indication of either a bug with the filesystem or with File::Find.
 
Back
Top