have you tried the "force" option to rm? If not try rm -f <filename>
If that does work then chances are good that there is a process
holding the file open. try running 'lsof | grep <filename>' and it
will give you the process ID of the process that is using it. You can
then do 'ps uax | <process id>' and if it looks like a process that
can be killed then kill it using 'kill -9 <process id>'
Adam.
On 24/03/2007, at 5:45 PM, David de la Hunty wrote:
Hi
I have come across a funny little file which refuses to let me
delete it. Has a HTML tag, and title in Vietnamese. Not "locked"
but the "locked" option is ghosted. 122 kb file. Looks viral.
Have used option-empty trash and it generates an error -43
gone into Terminal, navigated to dir, used rm command and various
options, also tried to rm the enclosing directory using the option
which deletes its contents. still no go. Generates a "no such file
or directory" error.
Any good tricks to nail this little sucker?
I'm not fluent in Unix at all...
thanks
dd
-- The WA Macintosh User Group Mailing List --
Archives - <http://www.wamug.org.au/mailinglist/archives.shtml>
Guidelines - <http://www.wamug.org.au/mailinglist/guidelines.shtml>
Unsubscribe - <mailto:[EMAIL PROTECTED]>
-- The WA Macintosh User Group Mailing List --
Archives - <http://www.wamug.org.au/mailinglist/archives.shtml>
Guidelines - <http://www.wamug.org.au/mailinglist/guidelines.shtml>
Unsubscribe - <mailto:[EMAIL PROTECTED]>