Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Script for copying files from windows to UNIX Post 302911450 by Corona688 on Thursday 31st of July 2014 04:34:10 PM
Old 07-31-2014
Quote:
Originally Posted by saleheen
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?
You can get scp for Windows, yes. I use pscp, published by the same people who created the PUTTY terminal program. It can be put in a batch file or run by other means.

Quote:
And how do I match the directory tree?
You would do that on the Windows side.

Can you use busybox on your Windows machine? It provides, among other things, a Bourne shell. This problem sounds excruciating to try and do in a batch file...
Quote:
Should I put unix directory tree in one variable and windows tree in another
How would you even know the UNIX one? scp isn't a shell, it just copies files.
This User Gave Thanks to Corona688 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Copying file from Unix workspace to Windows Network

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

copying from unix to windows

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

writing script in UNIX for copying files in two server

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

copying files from UNIX to windows using FTP

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

copying files from Windows!!

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

Error copying files from Unix (Solaris10) to Windows Server 2003 using scp/sftp

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

RCP for copying the files from one drive to other on Windows

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

Unix shell script to Copy files from one Windows server to another Windows server.

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

Problem copying files from windows to unix

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

Copying the files to Windows server from UNIX server

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
Arrange(1x)						   AfterStep X11 window manager 					       Arrange(1x)

NAME
Arrange - AfterStep module for arranging windows in a tiling or cascading order CONFIGURATION OPTIONS
DESCRIPTION
Arrange was developed to replace Tile and Cascade which were present in AfterStep 1.8 and stopped working with the introduction of After- Step 2.0. Like Tile and Cascade Arrange can be used to tile or cascade windows subject to certain constraints. By default Arrange will cascade windows located on the current screen. OPTIONS
-a Causes all window styles to be affected, even ones with the WindowListSkip style. -alldesks Causes windows on all desks to be effected. -desk Causes all windows on the desk to be cascaded instead of the current screen only. -H Causes windows to be tiled horizontaly. This will only have an effect if -tile is passed. -incx arg Specifies a horizontal increment which is successively added to arranged windows. arg is a percentage of screen width, or pixel value if a p is suffixed. Default is 20p. -incy arg Specifies a vertical increment which is successively added to arranged windows. arg is a percentage of screen height, or pixel value if a p is suffixed. Default is 20p. -m Causes maximized windows to also be affected (implied by -all). -mn arg Tiles up to arg windows in tile direction. If more windows exist, a new direction row or column is created (in effect, a matrix is created). -noraise Inhibits window raising, leaving the depth ordering intact. -nostretch Inhibits window expansion when using the -resize option. Win- dows will only shrink to fit the maximal width and height (if given). -pattern arg Only arrange windows matching the supplied pattern. -r Reverses the window sequence. -resize Forces all windows to resize to the constrained width and height (if given). -s Causes sticky windows to also be affected (implied by -all). -t Causes transient windows to also be affected (implied by -all). -tile Causes windows to be tiled not cascaded. -u Causes untitled windows to also be affected (implied by -all). INVOCATION
Arrange can be invoked from the autoexec file or by binding the action "Module Arrange [args]" to a key-stroke in a feel file. CONFIGURATION OPTIONS
Command-line arguments passed to Arrange are described in the OPTIONS section. Up to four numbers can be placed on the command line that are not switches. The first pair specify an x and y offset to start the first window (default is 0, 0). The second pair specify an absolute coordi- nate reference denoting the lower right bounding box for tiling. If any number is suffixed with the letter p, then it is taken to be a pixel value, otherwise it is interpreted as a screen percentage. Speci- fying zero for any parameter is equivalent to not specifying it. This invocation will horizontally tile windows with a bounding box which starts at 10 by 10 percent into and down the screen and ends at 90 by 90 percent into and down the screen. Arrange 10 10 90 90 -tile -H It is probably not a good idea to delete windows while windows are being arranged. 3rd Berkeley Distribution AfterStep v.2.2.11 Arrange(1x)
All times are GMT -4. The time now is 03:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy