07-20-2011
shell script to copy files frm a linux machine to a windows machine using SCP
I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine.
for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to windows
On July 21, It will become 21.txt and it also should be copied.
I need a script to work this
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Can anyone tell me how can i copy data in LINUX Machine to windows XP
Thanks,
Sandeep (2 Replies)
Discussion started by: bsandeep_80
2 Replies
2. UNIX for Dummies Questions & Answers
Hi I need to copy a file from the remote unix server to windows machine.
I read lot of thrad but didn't worked out.
Requesting all to please help. (2 Replies)
Discussion started by: sameerspice
2 Replies
3. Solaris
hi,
I have some windows client machines which require a signal to be sent by a Solaris machine( SunOS 5.6) when ever a particular event occurs on that Solaris machine. What are possible communication mechanisms by which i can do this.
the constraints are
> the windows machines have to... (7 Replies)
Discussion started by: Krsh
7 Replies
4. Shell Programming and Scripting
I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it. (4 Replies)
Discussion started by: lassimanji
4 Replies
5. Red Hat
Hi All,
URGENT - Please help me form a scipt for this:
I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server)
I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am very unfamiliar with linux/unix (don't even know the difference), but am trying to get some linux software to run on my Windows machine for my research. I have the makefiles for the software, and it is designed to be compiled in the PGI complier, which I also have. When i... (6 Replies)
Discussion started by: roba87
6 Replies
7. Shell Programming and Scripting
Hi All..
Am new to Unix!!
Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp).
And also i have to transfer the input file from the local directory to Unix machine (Server)
Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies
8. Shell Programming and Scripting
Hi,
I have an shell script program in a remote linux machine which will do some specific monitoring functionality. Also, have some C executables in that machine.
From a windows machine, I want to run the shell script program (If possible using java).
I tried with SSH for this. but, in... (1 Reply)
Discussion started by: ram.sj
1 Replies
9. Solaris
how to execute shell script present in unix machine remotely from windows?
I having a shell script in my unix machine, need to execute the script remotely from my windows machine using Visual Basic or VBA macros.
Thanks In Advance.
--Suresh (1 Reply)
Discussion started by: sureshmani
1 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I need to create a shell script which will copy files - which are created on particular date and starting with particular name - to local windows XP machine.
Is this possible.?
Currently it is being done manually using winscp (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies
LEARN ABOUT SUSE
vfs_preopen
VFS_PREOPEN(8) System Administration tools VFS_PREOPEN(8)
NAME
vfs_preopen - Hide read latencies for applications reading numbered files
SYNOPSIS
vfs objects = preopen
DESCRIPTION
This VFS module is part of the samba(7) suite.
This module assists applications that want to read numbered files in sequence with very strict latency requirements. One area where this
happens in video streaming applications that want to read one file per frame.
When you use this module, a number of helper processes is started that speculatively open files and read a number of bytes to prime the
file system cache, so that later on when the real application's request comes along, no disk access is necessary.
This module is stackable.
OPTIONS
preopen:names = /pattern/
preopen:names specifies the file name pattern which should trigger the preopen helpers to do their work. We assume that the files are
numbered incrementally. So if your file names are numbered FRAME00000.frm FRAME00001.frm and so on you would list them as
preopen:names=/FRAME*.frm/
preopen:num_bytes = BYTES
Specifies the number of bytes the helpers should speculatively read, defaults to 1.
preopen:helpers = NUM-PROCS
Number of forked helper processes, defaults to 1.
preopen:queuelen = NUM-FILES
Number of files that should be speculatively opened. Defaults to the 10 subsequent files.
VERSION
This man page is correct for version 3.3 of the Samba suite.
AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open
Source project similar to the way the Linux kernel is developed.
The PREOPEN VFS module was created with contributions from Volker Lendecke and the developers at IBM.
Samba 3.5 06/18/2010 VFS_PREOPEN(8)