Questions tagged [trash]

A storage location for files that have been marked for deletion, but not yet removed from the filesystem.

Filter by
Sorted by
Tagged with
0
votes
1answer
35 views

Folder won't delete from Trash for “Can't delete ”_ImageItems“ because its pathname is too long”

I'm trying to empty my trash on my iMac. When I do, I can detete everything but 1 folder. The one folder seems to reference itself infinitely. Each time I click on the expander chevron, I get ...
4
votes
1answer
5k views

How can I remove Finder and Trash from my dock (for Mojave)

I've got my first ever Mac and was wondering how to remove Finder and Trash from my dock (and put them in Launchpad instead). I've tried some of the solutions on other questions but they don't seem ...
137
votes
22answers
156k views

How to stop OS X from writing Spotlight and Trash files to memory cards and USB sticks?

When plugging a USB stick into a Mac, OS X creates a number of hidden files on the stick, including a Spotlight index and Trash folder. Example from the terminal for a USB stick "Untitled": $ ls -a /...
2
votes
5answers
782 views

How to delete infinitely recurring directories

I have a strange issue with deleting items from the Trash. It appears that there are infinite nested directories which I cannot seem to remove. If I try to "empty" the trash I get an error ...
24
votes
2answers
7k views

Cannot ls ~/.Trash in the Terminal in Catalina (operation not permitted)

Ever since buying a new Mac, which has forced me to upgrade to Catalina, I cannot view the Trash folder in the Terminal. ls ~/.Trash just gives ls: .Trash: Operation not permitted. So does sudo ls ~/....
0
votes
1answer
21 views

Trash moved to Other, wasn't removed

I had 30 GB of trash (UnrealEngine4) and when I emptied it, it only took a second and it all became part of Other in About this Mac - Storage. I was looking at it, before it was 30GB in Trash, and ...
1
vote
1answer
43 views

Why is there no “Restore” or “put back” button in my trash?

There is no restore option when I right click a folder in my trash. Did I do something wrong with my computer to cause it to do away with this option?
4
votes
4answers
3k views

How to clear Trash after deleting old user profiles on macOS Catalina? [duplicate]

I probably did something that I was not supposed to do and now I ran into some kind of problem. I deleted two old user accounts from my Mac inside System Preferences to get some space back. However ...
43
votes
5answers
83k views

Emptying trash of the USB drive

I have a USB drive plugged into my Mac. What I found was .Trashes was not emptied when the emptying trash (right click the Trash icon and run "Empty Trash") for the USB drive What might be wrong? Is ...
3
votes
2answers
1k views

Can't empty the trash after deleting user account

I had an old user account on this machine that I no longer needed and was taking up a lot of space. I removed it by going to System Preferences > Users & Groups and deleting the user. It took a ...
6
votes
2answers
7k views

System Integrity Protection prevents Trash from being emptied

I have no idea how two files ended up in Trash, but I suspect AppDelete to be the culprit. Anyway, the first file is DeviceLink.framework and the other is MobileDevice.framework. Any idea how to ...
0
votes
1answer
51 views

Impossible to Delete Catalina Installers

I've tried to delete the Catalina installer twice - and both instances have become stuck in Trash. Trying to empty Trash via GUI results in 'operation can't be completed because item is in use` errors....
2
votes
1answer
27 views

Change directory in Terminal if working folder moved to Trash (in interactive shell)?

So occasionally I will be working in zsh, in an interactive shell, and will shift to the Finder (or Path Finder) and while there will throw the folder, that is the current working directory in the ...
0
votes
0answers
132 views

Deleting stubborn items from my Mac

I have a couple of items that are proving intractable to remove from my Mac. One is a no longer needed copy of the Catalina installer, the other is one set of the relocated items that macOS now puts ...
17
votes
9answers
41k views

Is there a way to auto “put back” everything in Trash?

My wife saw the folder 'all documents' in Finder and decided to move it all to the trash. Now we have over 9,000 files in the trash and I haven't been able to find a way to put back everything with ...
0
votes
0answers
62 views

Can't empty trash, file says is in use, have tried everything

I'm trying to delete a Deleted Users folder but it won't let me, inside there's a Library folder with a VoiceTrigger folder, inside that there's a file called SAT when I try to directly delete that ...
1
vote
1answer
228 views

cannot access files in trash previously on external harddrive

I have no problem making a list of all files in the trash provided those files were previously on the main harddrive, but when those files were previously on an external harddrive I can't access them ...
14
votes
6answers
59k views

Is it possible to delete the “useless” apps pre-installed on my Mac?

There are some preinstalled apps that came with my laptop that I know I wil never ever use. Apps like "Notes", "Stickies", "Game Center", etc.. that were preinstalled in my Macbook Pro are apps that ...
2
votes
0answers
51 views

Apple Mail not deleting (archiving) gmail messages properly

I'm having real trouble getting Apple mail to delete (archive) messages in gmail. Historically gmail re-interpreted deleting messages to mean archiving them. So though IMAP, for example, a naive ...
0
votes
0answers
28 views

How can I get apple mail to keep only the newest email from a daily subscription, and to automatically trash older emails

I only want to keep the latest email from a subscription and I would like apple mail to automatically delete the older ones. Is there an Apple Script or way of setting rules to achieve this task?
5
votes
8answers
24k views

How do I avoid “message could not be moved to the mailbox Trash” on iOS 10?

Since upgrading to iOS 10, in certain e-mail accounts (notably an msn.com account) I cannot delete certain messages in Apple Mail. If I swipe left or open the message, and click the Trash icon, I get ...
0
votes
0answers
24 views

Lot of files got deleted in my external hard drive

I attached my external hard drive to my mac book air. And due to some issue, I had to manually power off my mac and restart. After the restart, I realized that many files in my external hard drive got ...
0
votes
1answer
170 views

Can't delete old Time Machine backups from Trash

I was trying to delete some old Time Machine backups from my backup drive. I am running into a few issues. I tried the method outlined in this article of simply moving them to the trash. After I ...
2
votes
0answers
40 views

Automatic removal of items from the trash after 30 days

Since Sierra, we can tell the Finder to remove items from the trash after 30 days. I have some questions about this: How can I tell how many days are left for a given file in the Trash? Where is ...
1
vote
0answers
36 views

Periodic System Maintenance: Running as non-root

I have had a daily maintenance script to clean out ~/Downloads via the periodic system for years. Recently I decided that I didn't want to delete the files but instead move them to ~/.Trash, allowing ...
3
votes
2answers
150 views

What's the difference between rm and empty trash?

If I put a file in the trash and "empty trash", is that the same as doing rm file? I understand that there are questions here asking about (e.g. [1] [2] [3] [4] [5]), but no answer directly pertains ...
2
votes
2answers
597 views

Command + Delete (Move to Trash) command doesn't work

I have this problem for a long time, and I don't know how to fix it. When I press Command + Delete key sequence, it doesn't work. When I use the key sequence, I hear a beep. It was working before I ...
0
votes
1answer
34 views

Suppress “Are you sure you want to delete…” dialogue when deleting items on SMB shares

When connected to an SMB share in Finder and deleting files or folders, this dialogue comes up: I believe that the reasoning behind this dialogue is because deleted files don't go to a Trash or ....
7
votes
2answers
46k views

How to setup Apple Mail so it truly removes email from Google?

After a lo-ho-hot of trial and error to get this to work properly I still was not able to find the sweet spot. The problem is simple. I am on OSX Yosemite and use the Mail.APP for my Google Apps for ...
2
votes
0answers
39 views

Moving several files to trash in Mac terminal without using rm, any plugins?

Looking for a way to: Move several files to the Mac trash in terminal without using the rm, crazy regex,finder, or something destructive. Today I realized I was just asking the wrong question. Once ...
0
votes
0answers
148 views

Undeletable Apple Mail “DataVaults” File in Trash

I recently created a "testmail" user for debugging purposes. After solving the problem I had, I wanted to remove the user completely again. I may have made the mistake that I first removed the home ...
4
votes
1answer
316 views

Empty Trash Item in Use

I recently upgraded my 2012 MacMini to Catalina. It was a bit of a nightmare as the internal drive wasn’t formatted to APFS. I imaged the drive and did a Time Machine backup then booted from the ...
1
vote
1answer
386 views

Deleting a file on the NAS says “delete immediately” but it is still on the NAS's recycle bin?

I have a WD NAS, and sometimes I right click a file and choose "Move to Trash", a box pops up saying the file will be deleted immediately (and cannot be undone). So I thought I released the space. ...
0
votes
1answer
87 views

How to delete Time Machine Backups that were moved into Recycle Bin Trash?

I use Time Machine on an external drive to back up my files. The external drive was getting close to be being full so I moved all the backed up file folders to my Recycle Bin (Trash) on my Desktop to ...
0
votes
0answers
24 views

Deleted iPhotos not appearing in Trash

Cleaning up photo albums and folders on Mac. Deleting photos but they don't appear in iPhoto trash OR system trash -- so how do I assure they're deleted? part of the rationale for deleting is to free ...
6
votes
3answers
3k views

Can't remove file from trash

I'm having trouble emptying the trash on Catalina. FileVault is enabled. Trying to empty from Finder warns X11R6 can't be modified or deleted because it's required by macOS. It's a link to /opt/X11 ...
1
vote
1answer
509 views

Mail on my Mac Pro running the latest update of High Sierra (newest OS I can use) keeps crashing when I use “Select All” to empty the trash

Application Specific Information: * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[__NSArrayM objectAtIndexedSubscript:]: index 9223372036854775807 beyond bounds [0 .. 1]' ...
0
votes
1answer
111 views

Finder closes after emptying trash or ejecting a disk

Is it possible to change some Finder settings so that it doesn't automatically close the window when the Trash is emptied or a usb disk/hard drive is ejected?
3
votes
2answers
2k views

How to force empty Trash if it has system files?

The question title may seem a duplicate, but this case of mine is unique. This happened because of this problem, which I was able to answer/solve. https://superuser.com/questions/1447825/will-re-...
42
votes
4answers
12k views

How to determine original location of file that is currently in the Trash?

Suppose some file "Any File.pdf" is in the Trash (aka ~/.Trash). How can I determine its original location? By "original location" I mean the folder where that file would be moved to if one were to ...
1
vote
0answers
48 views

View or empty rubbish bin of other volume?

I would like to open (and empty) the Bin on a different volume. It is an APFS volume. I have tried looking in /Volumes/other/.Trashes/ and /Volumes/other/Users/sam/.Trash/, but these locations don't ...
1
vote
2answers
843 views

Emptying trash slow on external HDD?

macOS Catalina. Emptying trash on the internal SSD is normal, but very slow on external HDD (USB 3.0, 5400rpm).
1
vote
0answers
114 views

Removing linked file after updating to macOS Catalina

I updated to Catalina recently. When the update was done, I had a directory of recovered files on my hard drive. The only file recovered was a soft link to X11 (see below). I tried rm X11 and unlink ...
1
vote
1answer
19 views

Where does a large file go when I delete it from a volume?

I deleted several files around 1 GB or more from an external drive with Mac OS Extended (Journaled). I cannot see them in ~/.Trash and Finder refuses to go to /Volumes/<volume name>/.Trash by ...
5
votes
3answers
7k views

Unable to clear Xcode from Trash. Force clear in Terminal returns permission error?

Since the App Store seemed stuck with updating Xcode to 7.3, I have decided to delete it and reinstall. However, after moving Xcode to the Trash, it refused to be cleared and instead be stuck on the "...
2
votes
1answer
703 views

Deleted Files not going to Trash, Catalina

I have recently updated my Macbook to Catalina and since then everytime I delete a file using "Move to Bin" option or by dragging it to the Trash can I get a message "This item will be deleted ...
2
votes
0answers
333 views

Empty trash from external hard drive

When my external hard drive got disconnected (without ejecting), it created a .Trashes folder. Now, I'm not able to delete the folder by emptying the trash. I keep on getting The operation can’t be ...
4
votes
4answers
13k views

Can't delete .plist files from Trash

I have a program which, when deleting any app, also deletes the extra files and junk as well; including .plist files. Normally this works great though, this time around I've had a few files which won'...
2
votes
1answer
917 views

Cant delete Time Machine .inProgress file

After over a month of not running Time Machine, I tried to run it again, and it was stuck on "Preparing Backup" for ages (more than 10 hours). A Google search has led me to try trashing the ....
0
votes
0answers
27 views

SSD on MacBook Pro - Strange capacity reporting in Finder

This is less of an issue and more of an 'enquiring minds would like to know' type question. I have a 1TB SSD in my macBook pro. I've been utilising the space to sort through years of duplications of ...

1
2 3 4 5 6