SCP & Delete

youshi10 at youshi10 at
Tue Feb 6 20:15:57 UTC 2007

On Tue, 6 Feb 2007, Don O'Neil wrote:

> How do I delete a file after I've copied it with SCP? Is there some sort of
> secure 'rm' command?

ssh allows you to execute many commands, one being rm. Example:

ssh username at host "rm /full/path/to/file";

There's also gftp which can use ssh / sftp if you like GUI.


More information about the freebsd-questions mailing list