http://qs321.pair.com?node_id=1154505


in reply to File::Find traversing a link into a mounted flash drive

When running, do you get a "processing link" message for the symlink'ed filesystem? If so, you can use readlink to see if the link is to another filesystem, then call File::Find::find with the target of the link as the start point.

Disclaimer: Not tested.

  • Comment on Re: File::Find traversing a link into a mounted flash drive

Replies are listed 'Best First'.
Re^2: File::Find traversing a link into a mounted flash drive
by swampyankee (Parson) on Feb 05, 2016 at 18:56 UTC

    No, and thanks!


    Information about American English usage here and here. Floating point issues? Please read this before posting. — emc

      In that case. I would suggest that every time you enter a new directory, scan it yourself for symlinks, then call File::Find::find for each target that is on a different filesystem.

        I did that, and it works! Thanks!


        Information about American English usage here and here. Floating point issues? Please read this before posting. — emc