copy multiple file to local to remote

Advertisement

deviprasad
Joined:
Posts:
4
Location:
banglore

copy multiple file to local to remote

Please help how to copy multiple file to local to remote


currently i have the following code to do that but it only copies a single file instead of multiple.

"put C:\Users\derath\Desktop\Exatrs\job\ /scratch/home/odeeqa/oracle/odee_1/documaker/hotdirectory"

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: copy multiple file to local to remote

It copies all files from folder C:\Users\derath\Desktop\Exatrs\job\ to folder /scratch/home/odeeqa/oracle/odee_1/documaker/ saving all to a single file hotdirectory, overwritting one another.

You probably want to do:
put C:\Users\derath\Desktop\Exatrs\job\ /scratch/home/odeeqa/oracle/odee_1/documaker/hotdirectory/

Note the trailing slash.

Reply with quote

martin
Site Admin
martin avatar

Re: copy multiple file to local to remote

For that, add a star to the source path:

put C:\Users\derath\Desktop\Exatrs\job\* /scratch/home/odeeqa/oracle/odee_1/documaker/hotdirectory/

Reply with quote

Advertisement

You can post new topics in this forum