New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

help deleting a file from the desktop...


Post Reply New Thread Subscribe

 
Thread Tools
parasight
Guest
 
Posts: n/a

I have a file on my desktop that won't let me move it to the trash. When I attempt to it says that it's being used in another application and that I'm not allowed to move it. But there are no other apps even open. I've restarted my comp. and it still won't let me delete the file. Any suggestions?
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
Several ways to approach this. I'd first look in the finder > applications > utilities > terminal and type top and see if some process is listed as running associated with that file. PID = process ID and if there is one you can end it with kill (PID)
QUOTE Thanks
parasight
Guest
 
Posts: n/a

below is what was shown when i typed "top" into the terminal...I don't know if any of these are associated with the file or not? it's a mpeg quicktime file...any suggestions? (again)


PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
547 top 9.0% 0:12.01 1 14 17 208K 320K 504K 13.6M
546 tcsh 0.0% 0:00.04 1 10 15 344K 560K 788K 5.73M
545 login 0.0% 0:00.49 1 12 33 244K 372K 568K 13.7M
544 Terminal 10.0% 0:04.23 3 60 111 1.41M 5.98M+ 6.22M+ 66.9M+
543 SecurityAg 0.0% 0:00.50 1 54 91 1008K 4.29M 3.41M 62.9M
542 iChat 0.0% 0:56.34 3 129 280 4.26M 7.75M 9.19M 82.1M
529 Safari 1.8% 21:51.59 7 121 966 74.4M 16.6M 69.1M 231M
526 Internet E 3.6% 7:45.30 7 85 340 15.2M 19.9M 19.5M 121M
525 lookupd 0.0% 0:08.86 2 32 47 380K 428K 632K 15.1M
409 httpd 0.0% 0:00.00 1 8 237 0K 484K 72K 45.0M
408 httpd 0.0% 0:00.00 1 8 237 0K 484K 72K 45.0M
407 httpd 0.0% 0:00.01 1 8 237 0K 484K 72K 45.0M
406 httpd 0.0% 0:00.01 1 8 237 0K 484K 72K 45.0M
405 httpd 0.0% 0:00.00 1 8 237 0K 484K 72K 45.0M
404 httpd 0.0% 0:03.10 1 8 237 16K 484K 112K 45.0M
QUOTE Thanks
parasight
Guest
 
Posts: n/a

what does the "lookupd" and "httpd" mean? any idea?
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
lookupd is tool to query netinfo and other configurations I'm not sure what the httpd entries are. Have you tried deleting the quicktime file as root?
QUOTE Thanks
parasight
Guest
 
Posts: n/a

how do I go about deleting it as root?
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
Have you enabled root user? Never be on line as root Open NetInfo Manager, located in Applications > Utilities.
Choose Security > Enable Root User and type a password for the root account. You may need to type an administrator password to make these changes.
Choose Apple menu > Log Out.
Choose Other in the Login window, type root in the Name field, and the root password in the Password field.
QUOTE Thanks
parasight
Guest
 
Posts: n/a

there's no where for me to choose "security" once inside of utilities...
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
Open NetInfo Manager
QUOTE Thanks
parasight
Guest
 
Posts: n/a

I thank you for taking the time to try and help me out, thanks. But I'm still lost. I opened NetInfo Manager, but didn't know what to do next. I'm totally lost here...
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
In there there should be a security and an option to enable root user, I can't see what to look at anymore as I have done that right after I got my Mac
QUOTE Thanks
parasight
Guest
 
Posts: n/a

I'm not seeing it...do you know of any other way to delete files?
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
If it's still there - here: finder applications utilities terminal there type sudo rm -r (no return yet) then drag the file to terminal then return, you are then prompted for password, i there is no root user the admin password should work
QUOTE Thanks
parasight
Guest
 
Posts: n/a

i just tried that, and it didn't work...here's what it says:

rm: illegal option -- /
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file

any other ideas?
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
What is the name of the file you are trying to delete.

It appears from your post you are trying to delete a file with a minus sign at the beginning of the file name.

Here is what you do. sudo rm -f \-filename or sudo rm -f "-filename".

If you are deleting a directory then use the -r option. The -f option is just saying remove the file with prompting because of permissions. The backslash is saying ignoring the normal how the system see a minus sign.

So in short sudo rm -rf \-directoryname or sudo -f \-filename.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks

Post Reply New Thread Subscribe


« Opening bin files | Panther Upgrade. Not able to ping »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
How do I rename a file, *please don't laugh at me" tv-ma Switcher Hangout 17 06-19-2004 05:34 AM
HELP! Catalog B-tree error, can't delete a HUGE preference file markpetrowsky Running Windows (or anything else) on your Mac 5 03-12-2004 11:39 AM
Apple updates Remote Desktop schweb Apple Rumors and Reports 1 04-02-2003 10:38 AM

All times are GMT -4. The time now is 11:19 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?