How to copy a binary from one server and paste it to another server?


 
Thread Tools Search this Thread
Operating Systems Solaris How to copy a binary from one server and paste it to another server?
Prev   Next
# 1  
Old 04-07-2013
How to copy a binary from one server and paste it to another server?

How to copy a binary from one server and paste it to another server?
Please help...

On server A there is a binary with size 0...I need to copy a binary from server B and replace the 0 size binary on Server A.

Kindly Help
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copy multiple .txt files from one server to another server

:wall:Hi all, I have two servers : server A and server B Weekly wise i use to receive files to server A to one particular location say /source/location . NOTE: In this location there will be other files also present other than these weekly arrival 18 files. My task : i need a... (7 Replies)
Discussion started by: karmegam
7 Replies

2. Shell Programming and Scripting

Shell script to copy a file from one server to anther server and execute the binary

Hi , Is there any script to copy a files (weblogic bianary + silent.xml ) from one server (linux) to another servers and then execute the copy file. We want to copy a file on multiple servers and run the installation. Thanks (1 Reply)
Discussion started by: Nawrajesh
1 Replies

3. Shell Programming and Scripting

Copy files from Linux server to Windows server

Hi All, I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers. So i am looking for a script to transfer the file automatically from Linux server to Windows server? Please advise. Thanks... (3 Replies)
Discussion started by: arunmanas
3 Replies

4. Shell Programming and Scripting

Copy folder and files from unix server to linux server

We would be migrating unix solaries to Linux redhat. Basically source is unix and target is linux. i would like to copy entire file system unix/source/* to target linux/souce/* but target linux has only folder setup so what ever files copied need to be placed in the linux server with same... (8 Replies)
Discussion started by: balajikalai
8 Replies

5. UNIX for Dummies Questions & Answers

Copy the newest file from a different server to your home server.

Hi all, So I am on server 1, and I want to grab the newest file from a particular directory on server 2, and place this in a directory on server 1. I am trying to use: ls -tr | tail -1 This works, and gets me the newest file in a particular directory. Using svn `ls -tr | tail -1` etc I... (1 Reply)
Discussion started by: Lexx87
1 Replies

6. UNIX for Advanced & Expert Users

Best way to Copy Files From One server to another server

Hi , I have two servers say server A and server B. I am generating some files in server A which I have to copy to Server B,what will be the best option and why it is better than the other( as I have to copy more than 3 GB data files daily) 1.FTP - I can't use FTP bcoz it's not allowed due to... (2 Replies)
Discussion started by: wangkc
2 Replies

7. Shell Programming and Scripting

Copy file from one server to multiple server

can some one help me to write a shell script that copy one file from one server to multiple server ex:suppose i wnt to copy file abc.txt which is in server 1 to server2,server3,server4....:confused: (6 Replies)
Discussion started by: alokjyotibal
6 Replies

8. AIX

Transferring files from one AIX server to another AIX server in binary mode

Hi, I am a newbie to AIX. We have 2 AIX5.3 servers in our environment, I need to transfer some files in Binary mode from one server to another and some files in ASCII mode from one server to another server. Could you please help me as to how I need to do that? Thanks, Rakesh (4 Replies)
Discussion started by: rakeshc.apps
4 Replies

9. Shell Programming and Scripting

copy files from remote server (B) to target server (A)?

Hi All, what is the comand to log off the remote server? I have 2 servers A, B. I need to find all files older than 7 days on server B and copy over to server A. My logic is: login the remote server: ================= ssh hostB cd /data/test find . -mtime -7 -ls | awk '{print... (4 Replies)
Discussion started by: Beginer0705
4 Replies

10. Programming

Command for copy a file from one server to another server

hi, which Command is used for copy a file from one server to another server, please provide the syntax and give one small example... Thanks in advance sarwan (2 Replies)
Discussion started by: sarwan
2 Replies
Login or Register to Ask a Question
BOS_INSTALL(8)						       AFS Command Reference						    BOS_INSTALL(8)

NAME
bos_install - Installs a new version of a binary file SYNOPSIS
bos install -server <machine name> -file <files to install>+ [-dir <destination dir>] [-cell <cell name>] [-noauth] [-localauth] [-help] bos i -s <machine name> -f <files to install>+ [-d <destination dir>] [-c <cell name>] [-n] [-l] [-h] DESCRIPTION
The bos install command copies each binary file specified with the -file argument to the local disk of the server machine named by the -server argument, which is normally the binary distribution machine for its CPU/operating system type. The destination directory is /usr/lib/openafs unless the -dir argument indicates an alternate directory. The source file's UNIX mode bits are preserved in the transfer. If there is already a file of the same name in the destination directory, the BOS Server automatically saves it by adding a ".BAK" extension. If there is a current ".BAK" version at least seven days old, it replaces the current ".OLD" version. If there is no current ".OLD" version, the current ".BAK" version becomes the ".OLD" version automatically. The bos getdate command displays the timestamps on the current versions of the file. To start using the new binary immediately, issue the bos restart command. Otherwise, the BOS Server automatically restarts the process at the time defined in the /etc/openafs/BosConfig file; use the bos getrestart command to display the time and the bos setrestart time to set it. OPTIONS
-server <machine name> Indicates the binary distribution machine on which to install the new binaries. Identify the machine by IP address or its host name (either fully-qualified or abbreviated unambiguously). For details, see bos(8). If the machine is not a binary distribution machine and is running an "upclientbin" process, then the files are overwritten the next time the "upclientbin" process fetches the corresponding file from the distribution machine (by default within five minutes). -file <files to install>+ Specifies the complete pathname of each binary file to copy into the destination directory. Each source directory can be on the local disk or in AFS, in which case the issuer of the bos install command must have the necessary AFS access rights and the local machine must run the Cache Manager. For the BOS Server to create ".BAK" and ".OLD" versions, the last element in the pathname (the filename) must match the name of a file in the destination directory. bos_create(8) lists the standard binary file names. -dir <destination dir> Provides the complete pathname of the local disk directory in which to install binary files. It is necessary only if the destination directory is not /usr/lib/openafs. -cell <cell name> Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see bos(8). -noauth Assigns the unprivileged identity "anonymous" to the issuer. Do not combine this flag with the -localauth flag. For more details, see bos(8). -localauth Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The bos command interpreter presents the ticket to the BOS Server during mutual authentication. Do not combine this flag with the -cell or -noauth options. For more details, see bos(8). -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following command copies the file /afs/abc.com/rs_aix42/usr/lib/openafs/vlserver to the file /usr/lib/openafs/vlserver on the machine "fs3.abc.com", which is the binary distribution machine for server machines running AIX 4.2 in the "abc.com" cell. The current version of the /usr/lib/openafs/vlserver file is moved to /usr/lib/openafs/vlserver.BAK. % bos install -server fs3.abc.com -file /afs/abc.com/rs_aix42/usr/lib/openafs/vlserver PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on the machine named by the -server argument, or must be logged onto a server machine as the local superuser "root" if the -localauth flag is included. The bos install command cannot be run against servers which are in restricted mode. SEE ALSO
BosConfig(5), KeyFile(5), UserList(5), bos(8), bos_getdate(8), bos_getrestart(8), bos_restart(8), bos_setrestart(8) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 BOS_INSTALL(8)