Deleting directories in cr.openjdk.java.net

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


Neil Richards (neil.richards at ngmr.net) 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>@cr.openjdk.java.net 
> 
> 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).

-John


More information about the web-discuss mailing list