Questions tagged [trash]
A storage location for files that have been marked for deletion, but not yet removed from the filesystem.
276
questions
0
votes
0
answers
32
views
Prevent compulsive trashing on macOS Catalina
We have an autistic teenage girl with a compulsive behavior to move files to the trash and empty it! Is it possible to prevent just the emptying of the trash?
1
vote
2
answers
59
views
Is it safe to use `trash-cli` on macOS?
Introduction
The program nnn has a send-to-trash functionality, and it uses trash-cli. I would like to use nnn and trash-cli on macOS. Reading trash-cli's homepage, I see it uses ~/.local/share/Trash/,...
0
votes
0
answers
29
views
How do I delete a bundle with nasty ACLs?
Why is this happening please? I cannot delete this file. Every time I empty my trash it gives multiple errors about this stupid file. Rebooting does not help, cannot delete, move, rename or change ...
0
votes
0
answers
35
views
Struggling to recover space after backup deletion on older system
My 2TB external drive (seagate SRD00F2) is refusing to recover space after deleting backups. I've tried a number of things, hoping to find help here, TYIA. The older backups were not deleting ...
0
votes
2
answers
78
views
How can I find out when a file had been moved to trash?
I have my Mac configured to automatically delete objects 30 days after they have been moved to Trash (at Finder > Preferences > Advanced > Remove items from the Trash after 30 days).
However, ...
0
votes
0
answers
58
views
How to delete com.apple files from the Trash folder?
This is the second time I'm posting this question. I hope I'm doing it right this time.
How to delete these files from trash? Any ideas? I tried several methods but I had no luck.
Methods that I tried ...
0
votes
1
answer
44
views
What process(es) write to TemporaryItems/.LINKS (and leaves _LOCK files inside)?
Nearly every time I login to a user account on my computer (running macOS Catalina 10.15.7 with all latest updates) I seem to discover a 'Recovered files' folder in my Trash that upon closer ...
0
votes
1
answer
47
views
Trash file inaccessible through Terminal?
Having come from a Linux environment, I am accustomed to using the command line, as in MacOS's "Terminal". In particular, I know about permissions, "sudo" and such.
But I am unable ...
0
votes
1
answer
65
views
Impossibly large file in trash that I cannot delete
I have a 2019 Intel Macbook Pro on the Monterey 12.1 Beta (21C5039b), and there's a file in my trash that I suspect has been causing me some problems. Its listed size in Finder is 8.32 EB (yes, that's ...
0
votes
0
answers
26
views
What's the difference between emptying the trash and securely emptying the trash? [duplicate]
The trash command has these two options:
-e Empty the trash (asks for confirmation)
-s Securely empty the trash (asks for confirmation)
What's the difference?
0
votes
0
answers
42
views
Files in the trash keep reappearing in the trash after emptying
Using macOS 12.0.1 on a 2020 13" MBP M1, though this problem has existed since macOS Big Sur.
I have a number of video files in my trash which I deleted several weeks ago. It's about 100 files ...
0
votes
0
answers
150
views
Can't delete “.sass-cache” because its pathname is too long
I get the error Can't delete “.sass-cache” because its pathname is too long. when I try to empty my bin.
sudo rm -rvf ~/.Trash/* doesn't work, it returns zsh: no matches found: /Users/cmiksche/.Trash/...
1
vote
0
answers
28
views
Can't delete corrupted .png.icloud in MacBook Pro M1
Recently one of my friends sent me some screenshot files from WhatsApp and I downloaded it to my MacBook, those files were screenshot.png.icloud files. Once they are on my downloads folder, I can't ...
4
votes
1
answer
2k
views
Desktop, Documents, and Downloads folders are gone after deleting Dropbox
Recently, I downloaded Dropbox to try it out, and upon realizing it required a subscription after 2 GB, I decided to cut to the chase and delete it. After syncing everything, I followed the ...
0
votes
1
answer
1k
views
Finder suddenly asking for permission to move to trash
In some recent update, the finder has asked me for to enter my password before I can move a file to the trash. It's a similar issue to this question: Finder asks for password to move file to trash, ...
2
votes
2
answers
2k
views
Path to the Bin directory
I am unable to determine the path to the Bin directory, the one that is shown in Finder window when I click on The Trash icon in the Dock.
I am seeking it, so I can either use the Finder's Go to ...
0
votes
0
answers
26
views
Can't delete app "xcode 5 is in use"
I am getting this error emptying my trash after deleting XCode. I don't use it and haven't for years.
It's it possible it is being used by other applications... It seems it's almost part of the OS the ...
2
votes
3
answers
235
views
How can I force my Mac to delete my trash which contains deeply nested locked folders?
I have hundreds of gigabytes of files that I manually (tried) to delete from an external hard drive. However I can't empty my trash, and no space has freed up on the drive.
When I try to empty my ...
0
votes
0
answers
89
views
Give the Terminal.app Full Disk permission problem even it is given
macOS: v 11.2.3
Chip Apple M1
I have given the Full Disk Access to Terminal and iTerm.
But when I run a Bash script to clean up the Trash directory I get "Give the Terminal.app Full Disk ...
1
vote
1
answer
37
views
Fully unmount volume?
I created a volume in disk utility, and called "projects.dmg". I assigned a password to it, and stored it in my home directory. All is good. I can now mount this volume in terminal, ...
0
votes
1
answer
52
views
Why do I see a "Put Back" menu item in the trash for only some items?
When I control-click on some files in the trash I see the "Put Back" menu item:
However, on other files I don't see this item:
Why is that?
0
votes
2
answers
3k
views
Finder asks for password to move file to trash
Recently, the Finder has asked me for a password whenever I move a file to the trash. I get the message, "Finder wants to move 'filename' to the trash. Enter your password to allow this". ...
0
votes
0
answers
1k
views
How to delete a macOS installer from Big Sur?
I downloaded the Mojave installer from my Big Sur machine to create a USB installer for an old Mac Mini.
I then deleted the installer from the Applications folder, but now whenever I try to empty the ...
0
votes
0
answers
55
views
How to bring back files that are deleted from trash? [without using external software]
I have an external hard drive that contained some folders and I had permanently deleted that by mistake. Is there any way I can get that folder back?
MacOS Version: Catalina 10.15.5
Disk Drive: ...
2
votes
5
answers
2k
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 ...
0
votes
1
answer
208
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....
0
votes
1
answer
42
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
1
answer
127
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?
0
votes
0
answers
363
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 ...
0
votes
0
answers
213
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
1
answer
246
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 ...
2
votes
0
answers
377
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
1
answer
513
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 ...
3
votes
0
answers
55
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
0
answers
49
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 ...
5
votes
4
answers
10k
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 ...
3
votes
2
answers
512
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
1
answer
53
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
1
answer
152
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 ....
2
votes
0
answers
185
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 ...
1
vote
1
answer
1k
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
1
answer
549
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 ...
1
vote
1
answer
578
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]'
...
1
vote
1
answer
393
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?
4
votes
1
answer
615
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
0
answers
56
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
0
answers
132
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
1
answer
30
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 ...
1
vote
2
answers
2k
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).
42
votes
2
answers
17k
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 ~/....