05-15-2015
scp to windows and delete files from windows
Hi Team,
I Have list file in Unix server, I need to copy files from Windows to Unix for the list of files given in Unix list file.
after coping files to unix, I need to delete the files from Windows.
i used SCP and moved files from windows to unix based on list file is done and working.
Now I need to Delete the files present in windows based on the file names given in list file (list file is in Unix).
Can some one help on this past
Thanks
Deepuu
4 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
Hi,
I have a requirement to copy the files from C drive on Windows to UNIX, once the files are copied I need to delete them from that drive (C:).
A drive is also on same network as my unix, so I was asked to use RCP for copying the files. Can any one have the syntax to copy the files from... (0 Replies)
Discussion started by: Raamc
0 Replies
3. Shell Programming and Scripting
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... (3 Replies)
Discussion started by: nithin6034
3 Replies
4. Shell Programming and Scripting
Hi experts,
can anyone suggest me on the below:
how to write a shell script to search and delete files on windows server.
-script runs on unix box
-it should search for specific files on windows server and delete them periodically. (2 Replies)
Discussion started by: chpradeepch
2 Replies