TB0ne |
08-05-2010 10:31 AM |
Quote:
Originally Posted by mdfakkeer
(Post 4056476)
i want to copy one or more files or directory from one drive to multiple drive simultaneously. It like a cloning a disk. But i dont like clone entire disk. i want to copy/clone only certine files or folder. if any one can know how to copy one source to multiple destination simultaneously. Is any tools available? how i can implement in perl?
|
Yes, someone can know how to do this. You can either do it in bash, using "tee", or use File::Copy in Perl and write a program accordingly.
Since you only want certain files, but don't really give details about what you're doing, version/distro of Linux, etc., I'd just create the 'master' tar file, then script something to SCP it to the other machines, and untar it.
|