Tony1 has asked for the wisdom of the Perl Monks concerning the following question:
advance thanks by Tony1 !!!#!/usr/bin/perl open(FILE,"viewall.pdbid") or die $!; @file=<FILE>; foreach $path(@file) { print $f1="/data/pub/pdb/$path"; print $f2="/tmp/$path"; print `cp $f1 /tmp/.`; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: file copy
by tirwhan (Abbot) on Nov 28, 2007 at 10:51 UTC | |
Re: file copy
by sh1tn (Priest) on Nov 28, 2007 at 14:28 UTC | |
by tirwhan (Abbot) on Nov 28, 2007 at 15:33 UTC |