07-31-2014
Thanks a lot blackrageous. I do use scp to copy files from local linux machine to other servers but is it the same for my windows pc? I mean can I copy the same way? And how do I match the directory tree? Should I put unix directory tree in one variable and windows tree in another and through loop say if those two are equal do the scp? Thanks for the awesome link!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I am new for Unix, and facing one problem
I wanted to copy some of files from my Unix workarea to Window network drive. I am not able to use copy or move command for this, as this only works within workarea.
Please let me know, how it can be done. (2 Replies)
Discussion started by: ashwanis
2 Replies
2. Shell Programming and Scripting
Hi,
I am new to shell scripting,
I want to copy some imp files from solaris server to windows server in a particular directory,username and password should be inside script and i want to it should copy output of some commands to windows server.first it will copy output of command to file then... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
3. Shell Programming and Scripting
can anyone help me in writing script in UNIX for copying files in two server from the third server after checking the files in the third server and if there is anything new in the third server automatically it should be added to the rest of the two servers and if same file is existing in the two... (4 Replies)
Discussion started by: REKHA09
4 Replies
4. Shell Programming and Scripting
Hi,
I want to transfer the approx 10k files available on UNIX Server to Windows Server using FTP Command. is it possible? how ?
Thanks in advance.
Sachin. (1 Reply)
Discussion started by: ssachins
1 Replies
5. UNIX for Dummies Questions & Answers
All,
I have a requirement where Iwill be getting the CSV files on windows Shared Drive, and I need to copy those to my unix directory...
Is there anyway we can do this??
Thanks,
freakabhi (4 Replies)
Discussion started by: freakabhi
4 Replies
6. Shell Programming and Scripting
Hi,
I have generated a Public/Private Key Pair in Solaris Unix (source) server and deployed the Public key in Windows 2003(target) server .ssh directory of user profile.
When i try to connect(ssh, scp, sftp) from Unix, i'm getting below error message.
Sun_SSH_1.1, SSH protocols 1.5/2.0,... (0 Replies)
Discussion started by: ajaykumarb
0 Replies
7. Shell Programming and Scripting
Hi,
I have a requirement to move the files between two drives in windows machine from Korn sheel. I came to know that It can be done through RCP.
Can any one help me with syntax for connecting to Windows machine and moving the files with RCP in KSH?
Thanks in advance.
Double post.... (0 Replies)
Discussion started by: Raamc
0 Replies
8. Shell Programming and Scripting
Can anybody please help me on how to code for the below requirement:
I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies
9. Shell Programming and Scripting
Hello,
I want some directions for a command inside a shell script which would copy files from some path on my windows os (say my documents) to the path where my shell script is saved and I want it to exit the sftp session and continue executing the remaining lines in my shell script after... (2 Replies)
Discussion started by: Vishwa308
2 Replies
10. Shell Programming and Scripting
Hi Team,
I had a requirement to write a shell script which automatically transfer the files from unix server to windows server. I can able to unix to unix using Scp command. I am not sure how to do unix to windows.
I am very new on this concept.
Could you please help me or guide in... (4 Replies)
Discussion started by: gvkumar25
4 Replies
LEARN ABOUT REDHAT
tk_grab
Tk_Grab(3) Tk Library Procedures Tk_Grab(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_Grab, Tk_Ungrab - manipulate grab state in an application
SYNOPSIS
#include <tk.h>
int
Tk_Grab(interp, tkwin, grabGlobal)
void
Tk_Ungrab(tkwin)
ARGUMENTS
Tcl_Interp *interp (in) Interpreter to use for error reporting
Tk_Window tkwin (in) Window on whose behalf the pointer is to be grabbed or released
int grabGlobal (in) Boolean indicating whether the grab is global or application local
_________________________________________________________________
DESCRIPTION
These functions are used to set or release a global or application local grab. When a grab is set on a particular window in a Tk applica-
tion, mouse and keyboard events can only be received by that window and its descendants. Mouse and keyboard events for windows outside the
tree rooted at tkwin will be redirected to tkwin. If the grab is global, then all mouse and keyboard events for windows outside the tree
rooted at tkwin (even those intended for windows in other applications) will be redirected to tkwin. If the grab is application local,
only mouse and keyboard events intended for a windows within the same application (but outside the tree rooted at tkwin) will be redi-
rected.
Tk_Grab sets a grab on a particular window. Tkwin specifies the window on whose behalf the pointer is to be grabbed. GrabGlobal indicates
whether the grab should be global or application local; if it is non-zero, it means the grab should be global. Normally, Tk_Grab returns
TCL_OK; if an error occurs and the grab cannot be set, TCL_ERROR is returned and an error message is left if interp's result. Once this
call completes successfully, no window outside the tree rooted at tkwin will receive pointer- or keyboard-related events until the next
call to Tk_Ungrab. If a previous grab was in effect within the application, then it is replaced with a new one.
Tcl_Ungrab releases a grab on the mouse pointer and keyboard, if there is one set on the window given by tkwin. Once a grab is released,
pointer and keyboard events will start being delivered to other windows again.
KEYWORDS
grab, window
Tk Tk_Grab(3)