Previous 1 2 Next 24 Replies Latest reply: Mar 7, 2015 7:01 AM by DheemanF04 Go to original post
  • jfiguerohunk Level 1 (0 points)

    does this work for iPhoto libraries too?

  • ballparkfm Level 1 (0 points)

    Can you paste the output into this forum of the illegal option error? It's hard to solve a problem when details aren't given . Thanks!

  • Janattic0 Level 1 (0 points)

    Just wanted to say a big "Thanks" - was stuck with a "greyed out" 320 GB file on my backup drive which wouldn't delete.

    Took me some time to realise it was simply too big to fit into Trash (not enough space on my laptop hard drive to

    allow this.


    Your instructions worked perfectly - took maybe 8 minutes to delete. I do use Time Machine but also use a backup in case

    I want to just access a single  file or in case I lose the mini hard drive to which I have copied large resource files to in order

    to clear my laptop drive a bit.


    I also hadn't known that I could just drag a file to the Terminal window to enter its path name in Terminal - very useful.


    I moved to Apple 2 yr ago from RISC OS and have never really found the  time to work out how anything but the basics work.

  • Matt Savino Level 1 (0 points)

    "To delete a single item from the Trash, move everything out of the Trash that you don't want deleted, and then empty the Trash. Don't put files in the Trash that you are wanting to keep. Create a "purgatory" folder to stash files that you think you no longer want but can't bring yourself to delete just yet."

    Wouldn't it be a million times easier if Apple just let you delete individual items from the trash like Windows does?

    I throw stuff in the trash throughout the project I'm working on. But I don't feel comfortable deleting it until the project is done with no problems. There's no way to easily right-click, or Cmd-delete files, to send them to a purgatory folder. So instead I'd be constantly dragging files into that purgatory folder.

  • Kurt Lang Level 8 (36,150 points)

    Well, the trash is the trash. Things you know you don't want, not a place to put things you may still need.


    Like a real trash can, you can pull things out. But otherwise, if you take the trash out, you take out the whole thing, not just parts of it.


    Yes, it is nice Windows lets you be more selective, but as I already noted, if it's something you think you may still need, it shouldn't be put in the trash in the first place.

  • Matt Savino Level 1 (0 points)

    I don't get this attitude at all. Why is it *wrong* to use a product the way I want?


    Lots of people use the trash as a staging area for getting rid of things, otherwise why does it even exist? If I could easily right click or Cmd-delete and and send things to purgatory I would do that. But opening finder and dragging things around is very often a PITA. Also if they gave you a keyboard shortcut to permanently delete something, instead of going to the terminal as your only option, that would help alleviate this problem.


    As an example, it used to be that you could not cut and paste files or folders on Mac (which you could do on Windows). Interestingly you could copy and paste files and folders. Sometimes dragging and dropping from nested folders into other nested folders can be a real pain--with folders popping open willy nilly. I posted a query about that on a forum somewhere and got a very similar answer. That it was somehow semantically wrong to cut a file. What did that even mean? What happened if you never pasted it? Nope, it was just *wrong* to want to cut and paste a file.


    Well Apple apparently decided my needs as a consumer did outweigh their idea of right and wrong, and now I can cut and paste folders and files. I just wish they would do the same with deleting from the trash. Or at least give me a way to fully delete something w/o having to go to the terminal.

  • Kurt Lang Level 8 (36,150 points)
    I don't get this attitude at all.

    Attitude? I did say it's nice that Windows allows that, didn't I? I have no idea where you got the notion of right or wrong in anything I said. I stated facts, nothing more.


    Let's put more bluntly then. The Mac OS isn't Windows. You can't force it to do something that isn't in its code to allow it to do what you want. This is the way the trash in the Mac OS has always worked and is highly unlikely to change.


    You can post feedback to Apple if you want about the option to include such a feature in the future, but there's nothing anyone here can do or suggest that would change the hard wired manner in which the trash currently works.

  • Matt Savino Level 1 (0 points)

    Ok. But they did change the ability to cut and paste files. And maybe they read these forums so who knows? There's always hope.

  • Kurt Lang Level 8 (36,150 points)

    Yes they did, so indeed "you never know". But I wouldn't put much faith in the behavior of the trash ever changing.

  • DheemanF04 Level 1 (90 points)

    Create an automator service accepting files and folders from finder as input.

    add ask for confirmation

    then add run shell script

    select Pass inputs: as arguments

    type(rm -R "$@") without the brackets (including the quotes)

    save the service as something like, "Permanently Delete"


    For those who are not comfortable using the command line, there is rather an ingenious way....

    First create a folder  named "deleter" on desktop and in documents ( you can choose any 2 locations )

    Again create an automator service accepting files and folders as input.

    • optionally add "ask for confirmation"
    • "Move finder Items" to the 'deleter' folder (which was on the desktop/location1)
    • add 'get specified finder items" (ignore input on this action by right-clicking and selecting 'ignore input') and add the 'deleter' folder which was created in documents folder/location2.
    • add "move finder items" to 'desktop/location1' and tick 'replace existing files'
    • Now add run shell script and again ignore input. type :

    cd ~/Documents (or add the path to location2)mkdir deleter

    • save it

    The run shell script action was added so that this service can be used again and again... otherwise we would have had to create the the deleter folder in documents every time before using the service.


    try it out...!

Previous 1 2 Next