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


Tags
scp list files, unix and windows applications

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 05-15-2015
spradeep86 spradeep86 is offline
Registered User
 
Join Date: Apr 2015
Last Activity: 24 November 2015, 2:12 PM EST
Posts: 5
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

Thanks
Deepuu
Sponsored Links
    #2  
Old Unix and Linux 05-15-2015
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 23 January 2017, 4:06 PM EST
Location: Aachen, Germany
Posts: 10,164
Thanks: 230
Thanked 3,075 Times in 2,851 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
Closed

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 02:34 PM
Using RCP to copy and delete the files from Windows Drive Raamc Shell Programming and Scripting 0 08-29-2010 12:42 AM
Error copying files from Unix (Solaris10) to Windows Server 2003 using scp/sftp ajaykumarb Shell Programming and Scripting 0 07-21-2010 09:44 AM



All times are GMT -4. The time now is 09:01 PM.