Need your help on copying a file to linux directory.
please check this link https://developer.bigfix.com/action-script/reference/file/ or
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
Will try your suggestion. Do I need to include file name in the destination like the one below?
Yes plz try...........
copy that ........................
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!
Here's the script.
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.