Hi all,
I need to copy files from one machine to another machine. I need to use
Net::SCP module .
Can you please give/help me small Perl snippet which will copy the files
Please advice
Regards
Irfan.
On Wed, Mar 3, 2010 at 8:40 PM, Irfan Sayed irfan_sayed2...@yahoo.com wrote:
Hi all,
I need to copy files from one machine to another machine. I need to use
Net::SCP module .
Can you please give/help me small Perl snippet which will copy the files
I was thinking this module's document has
Dear All,
Thanks for all your help -
I have done it using a mix of the inputs from you guys -
Thanks a lot !!
--
i biokid
I have a simple - yet trivial problem -
I 2000 directory at /home2/foo/foodir/ .
I need to copy all files with extension *.atm and *.ali to another directory
called temp (say /home2/foo/foodir/temp )
After that I need to run a program in each of this directory - (say joy
*.ali )
If am suppose
A Dissabte 19 Agost 2006 09:19, I BioKid va escriure:
I have a simple - yet trivial problem -
I 2000 directory at /home2/foo/foodir/ .
I need to copy all files with extension *.atm and *.ali to another
directory called temp (say /home2/foo/foodir/temp )
After that I need to run a program in
On 8/19/06, I BioKid [EMAIL PROTECTED] wrote:
@a=`cat list`;
foreach $a(@a)
{
`mkdir $a`;
You don't have to use the shell's mkdir (in backticks); you can use
Perl's mkdir function, if you first use chomp() to get rid of the
newlines. Could the newlines be causing other
On 08/19/2006 02:19 AM, I BioKid wrote:
I have a simple - yet trivial problem -
I 2000 directory at /home2/foo/foodir/ .
I need to copy all files with extension *.atm and *.ali to another
directory
called temp (say /home2/foo/foodir/temp )
After that I need to run a program in each of this
I BioKid wrote:
I have a simple - yet trivial problem -
I 2000 directory at /home2/foo/foodir/ .
I need to copy all files with extension *.atm and *.ali to another
directory
called temp (say /home2/foo/foodir/temp )
After that I need to run a program in each of this directory - (say joy
I know that 'rename' moves files from one place to another, but how do
you copy files in perl?
I looked around and didn't see any other functions for it.
Thanks,
tim
on Sat, 06 Jul 2002 12:37:39 GMT, T. B. Booher wrote:
I know that 'rename' moves files from one place to another, but how do
you copy files in perl?
See
perldoc File::Copy
--
felix
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Sat, 6 Jul 2002 07:37:39 -0500, [EMAIL PROTECTED] (T. B. Booher)
wrote:
I know that 'rename' moves files from one place to another, but how do
you copy files in perl?
I looked around and didn't see any other functions for it.
#!/usr/bin/perl
use File::Copy;
copy(file1,file2
On Saturday 06 July 2002 14:18, Felix Geerinckx wrote:
on Sat, 06 Jul 2002 12:37:39 GMT, T. B. Booher wrote:
I know that 'rename' moves files from one place to another, but how do
you copy files in perl?
See
perldoc File::Copy
Is my perl doc broken, or is there some environmental
Hello
whats the simple function to copy
files? pls tell the syntax.
-Jim
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Feb 5, Student of Perl said:
whats the simple function to copy
files? pls tell the syntax.
perldoc File::Copy
--
Jeff japhy Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
** Look for Regular
On Thu, Dec 13, 2001 at 06:42:17AM -0600, Michael Pratt wrote:
Does anyone know how to go and get a file (with wild cards too) and dump
them to a specifed directory on a local machine from the internet. weather
it be ftp or http protocol? If so can I get an example?
You probably want
Does anyone know how to go and get a file (with wild cards too) and dump
them to a specifed directory on a local machine from the internet. weather
it be ftp or http protocol? If so can I get an example?
Thanks for all your help!
Mike
Michael Pratt wrote:
Does anyone know how to go and get a file (with wild cards too) and dump
them to a specifed directory on a local machine from the internet. weather
it be ftp or http protocol? If so can I get an example?
#!/usr/bin/perl -w
use strict;
use Net::FTP;
my $local_dir =
17 matches
Mail list logo