Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2007 12:17:14 -0800
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        "Don O'Neil" <don@lizardhill.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SCP & Delete
Message-ID:  <8cb6106e0702061217uf9fda4cu94c3c811b5e4dab3@mail.gmail.com>
In-Reply-To: <005401c74a2b$30361b90$0300020a@mickey>
References:  <005401c74a2b$30361b90$0300020a@mickey>

next in thread | previous in thread | raw e-mail | index | archive | help
> How do I delete a file after I've copied it with SCP? Is there some sort of
> secure 'rm' command?

ssh user@host 'rm /full/path/to/file'

Should work. There's no srm (secure rm), you simply ssh to the machine
and give it the command to execute.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb6106e0702061217uf9fda4cu94c3c811b5e4dab3>