Cyril Plisko wrote:
On Thu, Apr 2, 2009 at 5:49 PM, Gordon Ross <[email protected]> wrote:
James' quota question reminds me of my own question:

How do I remove old stuff from cr.opensolaris.org?

I find rsync --delete useful for deleting things. I think there are
also some directory that can be used as Trash dir. I.e. you move your
file there and they eventually gets deleted. I personally prefer rsync

I have a small shell script I use to "delete" things:

#!/usr/bin/ksh93
echo "rename $1 .trash/$1" | sftp [email protected]

Then I run the script like so:

script item-to-trash

Cheers,
--
Shawn Walker
_______________________________________________
website-discuss mailing list
[email protected]

Reply via email to