Hi Guys,
Well i dont have alot of experience in shell scripting. I am mostly into OOP. So i was given a task to
"Transfer the contents of files in a zip format from one unix server to another unix server"
What i am trying to do is create a shell script when runs will transfer all the files in zip format from one unix directory to another unix server directory. How can i do that?
I've searched on google and most of the time they used " scp " command. I am not at work but i tried using something like this:
Code:
data = /abc/web/docs/xyz.com/props
scp $data/.*zip. fast:/xyz/abc/mlo.com/klm
But unfortunately my script is not working. Any clues how can i acheieve this?
Thanks