How to delete a remote file
I have a script that performs SCP to send files between 2 different servers. I was wondering if there was a way to delete a file on a remote server..any help is appreciated.
|
Take a look at using rsync over ssh. This should do the trick for you.
|
sftp or ssh could do it.
|
thanks
will rsync just delete 1 file or an entire directory?
|
You certainly can use ssh without a password, by sharing keys.
http://www.sun.com/bigadmin/content/...h_setting.html |
Quote:
|
All times are GMT -5. The time now is 07:58 AM. |