Deleting directories in

John Coomes John.Coomes at
Thu Oct 20 14:11:46 PDT 2011

Neil Richards (neil.richards at wrote:
> Hi,
> According to the Community Code Review documentation [1], one should be
> able to delete a tree of files and directories by sftp'ing to one's
> account:
>         sftp <username> 
> then using 'rename' to move the tree into the ~/.trash subdirectory:
>         rename 6543210 ~/.trash/6543210

It works for me if you leave off the '~/', e.g.:

	rename foo .trash/foo

The example in the guide doesn't use the '~/' (although the
descriptive text above it does).


More information about the web-discuss mailing list