Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by bigal_george (Acolyte)
on Jan 02, 2020 at 07:02 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-19 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found