Advice needed copying a folder to 300 computers
Hello, I have a folder called A2 installer and another file called TNSNames.ora, I want to overwrite the this folder that is present on
300 computers, which would be the best way of achevining this using K1000 Scripts ?, Should i use xcopy or robocopy ?
The contents of this folder will be copied to this location :C:\A2 and the TNSNames.ors file will goto this location :
C:\app\localadmin\product\11.2.0\client_1\network\admin\
Thanks
2
Can you tell me if the above will work ? have added tnsnames.ora as a dependancy
-
I would probably use a file synchronization to copy the files to the system. - chucksteel 11 years ago
-
how would i do that - bsimon 11 years ago
Answers (1)
if you are talking a few files you can create a kscript, upload load them as dependancies and use xcopy and copy them from the $(KACE_DEPENDENCY_DIR) to the destination. Another option is to zip the directory and one file up together, upload that zip as a dependancy and use the unzip call in kscripts to unzip it to the destination.
Comments:
-
ok thanks - bsimon 11 years ago
-
do i need to unzip it really - bsimon 11 years ago
-
Depending on the size of the folder, I would use the file sync option in kace. then you don't have to worry about unzipping it, it will do it. create one FS for your folder and another for your file. - nshah 11 years ago
-
where would i find the sync option? - bsimon 11 years ago
-
look under the "distribution" tab on top and you will see a sub tab "file synchronization" - SMal.tmcc 11 years ago
-
ok thankyou - bsimon 11 years ago