Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by jcb (Parson)
on Jan 02, 2020 at 00:25 UTC ( [id://11110850]=note: print w/replies, xml ) Need Help??


in reply to Re^2: File::Copy::Recursive - current file/directory being processed
in thread File::Copy::Recursive - current file/directory being processed

Certainly the tests I am having are showing some really good speed advantages in Linux anyways.

Speed advantages compared to what? While implementing these commands in Perl can be a good exercise, I would be very surprised if a Perl program is faster than the system rm, mv, and cp commands, all of which are implemented in C on GNU systems — and most distributions of Linux use the GNU coreutils package. All of those commands accept the -v option to list the files on which they act and that can be easily translated to "running dots" with Awk: (untested)

cp -v $FROM $TO | awk '{print "."}'

I am not entirely convinced that Perl is the right tool for this job, unless, again, you are doing this as a programming exercise.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-03-29 14:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found