Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: File::Copy::Recursive - current file/directory being processed

by bigal_george (Acolyte)
on Jan 02, 2020 at 07:02 UTC ( #11110863=note: print w/replies, xml ) Need Help??


in reply to File::Copy::Recursive - current file/directory being processed

Sadly, an exercise in frustration. dircopy() fails even with sudo instantiate. Someone else reported same that if fails without any warning. Ive tried different warning levels and sudo or user, same thing. Copying from ext4>ext4 USB>USBdrive. Does a consistent 41964 files and hits something it doesnt like. Tried dircopy() naked eg without any callback same issue. bash cp -a sails through the directories with no problems. Al.
  • Comment on Re: File::Copy::Recursive - current file/directory being processed

Replies are listed 'Best First'.
Re^2: File::Copy::Recursive - current file/directory being processed
by jcb (Parson) on Jan 04, 2020 at 00:55 UTC

    So the obvious question is "What is the 41965th file?" and you could try running the program in the debugger while your callback counts how many files it has seen and takes a different code path (on which you will set a breakpoint) after copying 41964 files to get an answer.

    I think that you have found a bug in File::Copy::Recursive. :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11110863]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2022-05-20 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?