vickey110 has asked for the wisdom of the Perl Monks concerning the following question:
I have a directory named systems which contains two more directories system1 and system2 and each of these directory contains bunch of files. Out of those I need to export only .csv files to my local machine as I am working on Unix in Putty. Using the scp command as
scp /user/vickey/systems/system1/file1.csv vickeys@localhost:C:/but copying each file one by one is taking too long. Could anyone suggest how I can do the same using a Perl script without editing the file name each time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: copying file from one server to other
by salva (Canon) on Oct 17, 2017 at 07:47 UTC | |
|
Re: copying file from one server to other
by Discipulus (Canon) on Oct 17, 2017 at 07:45 UTC | |
|
Re: copying file from one server to other
by thanos1983 (Parson) on Oct 17, 2017 at 08:19 UTC |