Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Archive > Archives of Old Posts > Mac Help/Tips

 
 
Thread Tools Search this Thread Display Modes
Old Feb 1, 2003, 12:06 AM   #1
BicyclePunk
macrumors regular
 
Join Date: Aug 2002
Location: Somewhere near Philadelphia
Send a message via AIM to BicyclePunk
Trash Locked Files

Ok, for some reason, I have over 60 locked files in my trash can on 10.2.3. I think there is a way to quickly empty the can without having to unlock each one. There is, right? Thanks for the info.
BicyclePunk is offline   0
Old Feb 1, 2003, 12:19 AM   #2
arn
macrumors god
 
arn's Avatar
 
Join Date: Apr 2001
Send a message via AIM to arn
Re: Trash Locked Files

Quote:
Originally posted by BicyclePunk
Ok, for some reason, I have over 60 locked files in my trash can on 10.2.3. I think there is a way to quickly empty the can without having to unlock each one. There is, right? Thanks for the info.
In OS 9 you used to be able to hold down either option or command while emptying trash to override. try it. not sure if it works in OS X.

arn
arn is offline   0
Old Feb 1, 2003, 12:32 AM   #3
FredAkbar
macrumors 6502a
 
FredAkbar's Avatar
 
Join Date: Jan 2003
Location: Santa Barbara, CA
Re: Re: Trash Locked Files

Quote:
Originally posted by arn


In OS 9 you used to be able to hold down either option or command while emptying trash to override. try it. not sure if it works in OS X.

arn
I'm pretty sure that this feature has been removed in OS X. I know that you can delete a file no matter what using Terminal (with sudo rm), but I think you'd still have to delete each file separately. You know what I'd really like? A Terminal command that can instantly delete all the files in a certain folder, but not the actual folder that contains these files. Like in this example, I'd like to be able to tell Terminal to remove all files IN the trash, but to not remove the trash folder itself. Does anyone know of a command for this? If I were to type "sudo rm -r ~/.Trash", it would delete my entire Trash directory in my home folder. I'd like to delete just those files in the trash, not the the trash itself.

Sorry if I got a bit repetitive there, but I hope you got the idea. I don't really have a solution to your problem--all I can do is ask a related question.

--Fred
FredAkbar is offline   0
Old Feb 1, 2003, 12:40 AM   #4
arn
macrumors god
 
arn's Avatar
 
Join Date: Apr 2001
Send a message via AIM to arn
Re: Re: Re: Trash Locked Files

Quote:
Originally posted by FredAkbar


Like in this example, I'd like to be able to tell Terminal to remove all files IN the trash, but to not remove the trash folder itself. Does anyone know of a command for this? If I were to type "sudo rm -r ~/.Trash", it would delete my entire Trash directory in my home folder. I'd like to delete just those files in the trash, not the the trash itself.
try:

"sudo rm -r ~/.Trash/*"

arn
arn is offline   0
Old Feb 1, 2003, 12:47 AM   #5
FredAkbar
macrumors 6502a
 
FredAkbar's Avatar
 
Join Date: Jan 2003
Location: Santa Barbara, CA
Re: Re: Re: Re: Trash Locked Files

Quote:
Originally posted by arn


try:

"sudo rm -r ~/.Trash/*"

arn
Oh...My...God...it worked...lol you're a genius Arn, thanks a bunch, I'll try to remember that.
FredAkbar is offline   0


 
MacRumors Forums > Archive > Archives of Old Posts > Mac Help/Tips

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Changing Locked Files jinxsimpson Mac Basics and Help 1 Nov 10, 2013 05:50 PM
All my torent files goes to trash??? vigorito Mac Applications and Mac App Store 13 Sep 2, 2013 04:29 AM
Files in trash become corrupted vistadude OS X 0 Dec 2, 2012 08:48 PM
Restoring Files from Trash Vorpal279 OS X 1 Nov 26, 2012 09:06 AM
Recovered Files in Trash mac.fanatic MacBook Pro 1 Aug 12, 2012 07:29 PM

Forum Jump

All times are GMT -5. The time now is 03:48 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC