Hi Josh:
thanks--certainly don't want to delete the Trash directory! (though
if the system automatically recreated it empty--I wouldn't
mind...)...here's this result (no success, still)
Last login: Fri Jan 23 11:59:33 on ttyp1
Welcome to Darwin!
[c-1749-3-3:~] rimar% sudo rm -ri /Users/rimar/Trashes/*
sudo: No match.
[c-1749-3-3:~] rimar%
Thanks to all for your help in advance...
Michael
At 11:57 AM -0800 1/23/04, Josh Marcus wrote:
>I can't comment on the validity of what you're doing (i.e. getting
>rid of Trashes), since I don't know much about Mac OS X, but as far
>as the syntax of the rm command goes...you're just missing a space
>between the "-ri" and the path "/Users/rimar/Trashes". The command
>should be:
>
>sudo rm -ri /Users/rimar/Trashes
>
>I wonder if you actually want to be removing the contents of the
>Trashes directory, not the directory itself. If so, you'd do:
>
>sudo rm -ri /Users/rimar/Trashes/*
>
>Note that this command will not delete hidden files that start with
>a dot (.). Watch out, though: using .* to match these files will NOT
>do what you expect. To remove the hidden files you could try:
>
>sudo find /Users/rimar/Trashes -type f -exec rm -i {} \;
>
>... after running your rm command.
>
>Josh
>
>Michael Rimar (by way of MAGNet mailing list administrator) wrote:
>
>>Hi Folks:
>>
>>I got brave and decided to use the Terminal sudo to empty a trash
>>problem I've been having. I dumped some files that I got from a
>>Retrospect backup recover of a WinNT machine. The Briefcase in
>>there is locked, won't allow me to remove from the trash, won't
>>allow me to change permissions on the contents that I can't remove.
>>
>>Here's what I did--I don't know UNIX well enough to follow the
>>problem--of course, any suggestions would be appreciated!
>>
>>Thanks
>>
>>michael
>>
>>Last login: Thu Jan 22 08:26:21 on console
>>Welcome to Darwin!
>>[c-1749-3-3:~] rimar% sudo rm -ri/Users/rimar/Trashes
>>Password:
>>rm: illegal option -- /
>>usage: rm [-f | -i] [-dPRrvW] file ...
>> unlink file
>>[c-1749-3-3:~] rimar%
>>
>>
-- ------------------------------ Michael Rimar Administrative Assistant UC Botanical Garden 200 Centennial Drive #5045 Berkeley, CA 94720-5045 (510) 642-0849 fax (510) 642-3012 http://botanicalgarden.berkeley.edu ------------------------------ "There's no bad weather, only the wrong clothes" Scottish fisherman's proverb ------------------------------------------------------------------------ The following was automatically added to this message by the list server: For information about MAGNet, its meetings and events, and its mailing list, including information on subscribing and unsubscribing, see the MAGNet Web site at <http://magnet.berkeley.edu/>.Received on Fri Jan 23 12:25:54 2004
This archive was generated by hypermail 2.1.8 : Fri Jan 23 2004 - 12:25:54 PST