Hi Guys,
Need your help on copying a file to linux directory.
Thanks!
Hi Guys,
Need your help on copying a file to linux directory.
Thanks!
Thanks a lot for the quick reply!
Per checking all examples are for Windows. Is this also applicable for Linux OS?
You would create an action that looks like this:
You can use ‘/’ as Linux style
prefetch filename sha1:3c13a810c49ecef0291ea14877d37d0e81e9d00c size:249856 http://someserver.com/somefolder/somefile
move __Download/filename /somedestination/filename
Or
download http://IEMserver:52311/Uploads/yourfile
move __Download/filename /somedestination/filename
Will try your suggestion. Do I need to include file name in the destination like the one below?
_move _Download/filename /somedestination/filename
Yes plz try…
copy that …
it says…
Failed move __Download/el6.repo C:\
Where do you want to move it from, and where do you want to move it to? With that info we can likely build a copy/paste command that should work. Likely it’s just a minor issue keeping it from working!
Hi Mike,
Here’s the script.
download http://10.200.11.106:5744/oldlogs/el6.repo
_move _Download/el6.repo C:\TEMP
It’s working now, I’ve changed move to copy command.
copy “__Download\el6.repo” “C:\TEMP\el6.repo”
Thanks for everyone’s help!
…ok I may regret this but gotta ask, in what Linux world does “C:\TEMP\el6.repo” make sense?
Sorry for the confusion. I just tested it first on windows, then in linux.
copy “__Download/el6.repo” “/tmp/el6.repo”
Well, if you have Cygwin installed it would work, or you are running the new(ish) Windows 10 Anniversary Edition.