On Wed, Mar 3, 2010 at 8:40 PM, Irfan Sayed 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 documen
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.
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 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
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 di
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 troubl
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 progr
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 to
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
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::Co
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]
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 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/
** L
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 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 LWP:
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 =
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
_
17 matches
Mail list logo