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

OS 10.4 - can't delete file from trash


Post Reply New Thread Subscribe

 
Thread Tools
Wakefield10

 
Member Since: May 25, 2007
Location: toronto
Posts: 56
Wakefield10 is on a distinguished road

Wakefield10 is offline
When i try and delete; Windows Media Player.app it wont let me do so, it says the operation cannot be completed because x is locked, and its not just 1 file its loads. The app file itself isnt locked and I'm really not sure how to get rid of it
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,589
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
If I remember correctly, hold down the either the option key or the apple command key and then select empty the trash from the drop down menu.

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

 
iLindzo's Avatar
 
Member Since: Nov 01, 2007
Location: Bay Area, CA
Posts: 387
iLindzo has a spectacular aura about
Mac Specs: 15" MBP w/Intel Core 2 Duo w/Lion, MBA w/Lion, 80GB iPod Video, 32GB iPhone 4, Two 32GB iPads

iLindzo is offline
If that doesn't work..

I have this at work. I've only had to use it once, but it worked perfect. You just download it from HERE.

It's a Force Empty Trash.

Mac users swear by their computers. PC users swear at their computers.
QUOTE Thanks
RiDE

 
RiDE's Avatar
 
Member Since: Sep 13, 2006
Location: Deep in the heart of Texas!
Posts: 3,559
RiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond repute
Mac Specs: Mac's

RiDE is offline
In Terminal.app you can type:

Sudo rm -rf

Then drag the file from the trash and drop it on the Terminal window... Press Enter.. Enter your password ... Press Enter
the file should now be gone.
QUOTE Thanks
Wakefield10

 
Member Since: May 25, 2007
Location: toronto
Posts: 56
Wakefield10 is on a distinguished road

Wakefield10 is offline
thanks for the replies, holding the appl button doesnt work so I tried that thing in terminal and it said this;

Welcome to Darwin!
pallassrosefinch1:~ Sharene$ Sudo rm -rf/Users/Sharene/.Trash/Windows\ Media\ Player.app/
rm: illegal option -- /
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
pallassrosefinch1:~ Sharene$
QUOTE Thanks
RiDE

 
RiDE's Avatar
 
Member Since: Sep 13, 2006
Location: Deep in the heart of Texas!
Posts: 3,559
RiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond repute
Mac Specs: Mac's

RiDE is offline
You need a SPACE between the "rm -rf" and the /Users/....


BE VERY CAREFUL using rm -rf any mistake could be critical.

Here ya go... Copy/paste this in Terminal:

Sudo rm -rf /Users/Sharene/.Trash/Windows\ Media\ Player.app/
QUOTE Thanks
Nagger Pumper

 
Nagger Pumper's Avatar
 
Member Since: Dec 28, 2006
Location: N.C.
Posts: 431
Nagger Pumper will become famous soon enough
Mac Specs: MacBook 2.2Ghz, 4GB RAM, 160GB HD

Nagger Pumper is offline
Does this work on locked programs on your backup HD ?
QUOTE Thanks
RiDE

 
RiDE's Avatar
 
Member Since: Sep 13, 2006
Location: Deep in the heart of Texas!
Posts: 3,559
RiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond repute
Mac Specs: Mac's

RiDE is offline
Quote:
Originally Posted by Nagger Pumper View Post
Does this work on locked programs on your backup HD ?
Such as???
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,589
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
I tend to use the quotes aslo as in:

sudo rm -rf "/Users/Sharene/.Trash/Windows\ Media\ Player.app"

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

 
hagios1972's Avatar
 
Member Since: Jan 24, 2007
Location: Hamilton, New Zealand
Posts: 343
hagios1972 will become famous soon enough
Mac Specs: MacBook black, Intel C2D 2GHz, 2GB RAM, 320GB WD Scorpio HD

hagios1972 is offline
Quote:
Originally Posted by Wakefield10 View Post
When i try and delete; Windows Media Player.app it wont let me do so, it says the operation cannot be completed because x is locked, and its not just 1 file its loads. The app file itself isnt locked and I'm really not sure how to get rid of it
Deleting locked files
Locked files can easily be deleted if you press Shift-Option or Option key combination while emptying the Trash (in Mac OS X 10.1 and later). For Mac OS X versions 10.0 to 10.0.4, use Show Info to deselect the item's Locked checkbox.

If you still cannot delete the item, start up your computer from the Mac OS X CD-ROM and choose Disk Utility from the Installer menu of the first screen. Use Disk Utility to verify and, if necessary, repair your disk.
QUOTE Thanks
harryb2448

 
harryb2448's Avatar
 
Member Since: Nov 28, 2007
Location: Nambucca Heads Australia
Posts: 18,375
harryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond repute
Mac Specs: iMac i5 2.7GHz, 16GB memory, OS 10.10.1

harryb2448 is offline
Before using any terminal commands, firstly go to Finder Preferences in the menu bar, then go to 'Advanced'. Make sure 'Empty Trash Securely' is NOT selected. Takes eons to empty trash in secure mode.
QUOTE Thanks

Post Reply New Thread Subscribe


« internal HD Full | Please help me with OSX »
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
Recovered file folders in my trash bin? thinisblk OS X - Operating System 7 06-11-2009 04:48 PM
Delete file from a playlist mike187fs iPod Hardware and Accessories 1 03-04-2007 02:51 PM
HP PhotoSmart 2575 Driver hana2004 OS X - Operating System 2 05-03-2006 07:03 PM
File copying frustrations - help? djmitch Switcher Hangout 5 06-27-2005 02:23 AM
can't delete a file from a DVD RW peterg OS X - Operating System 1 06-11-2005 09:29 PM

All times are GMT -4. The time now is 07:35 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?