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

As you are using scp , sftp should be avaiable as well. It has the rm interactive command.

1 Like