Unix/Linux Go Back    

Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

scp to windows and delete files from windows

Windows & DOS: Issues & Discussions

scp list files, unix and windows applications

Thread Tools Search this Thread Display Modes
Old Unix and Linux 05-15-2015
spradeep86 spradeep86 is offline
Registered User
Join Date: Apr 2015
Last Activity: 7 June 2017, 6:23 AM EDT
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Wrench 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

Sponsored Links
Old Unix and Linux 05-15-2015
RudiC RudiC is offline Forum Staff  
Join Date: Jul 2012
Last Activity: 21 September 2017, 5:16 PM EDT
Location: Aachen, Germany
Posts: 11,365
Thanks: 297
Thanked 3,523 Times in 3,242 Posts
As you are using scp, sftp should be avaiable as well. It has the rm interactive command.
The Following User Says Thank You to RudiC For This Useful Post:
spradeep86 (05-15-2015)
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unix shell script to delete files on windows server chpradeepch Shell Programming and Scripting 2 10-21-2012 01:34 PM
Using RCP to copy and delete the files from Windows Drive Raamc Shell Programming and Scripting 0 08-28-2010 11:42 PM
Error copying files from Unix (Solaris10) to Windows Server 2003 using scp/sftp ajaykumarb Shell Programming and Scripting 0 07-21-2010 08:44 AM

All times are GMT -4. The time now is 02:25 AM.