Questions tagged [trash]

The Trash is a place for deleted files, from where they can be restored or permanently deleted. Usually, "Trash" is used for Linux and Unix systems whereas Windows uses "Recycle Bin"

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

In Terminal, I can't remove Trashed Finder items deleted from other mounted volumes

The scenario is as follows. I run macOS A (APFS) which is an active partition. The macOS B&C (HFS+) are on mounted bootable volumes and visible while I'm working in macOS A. I can delete Finder ...
user avatar
  • 1
0 votes
1 answer
58 views

Prevent deleting files in XCFE

I use XFCE 4.12 on Ubuntu 18.04 ; and I would like to avoid deleting files inadvertently from the right-click menu: Both "Move to Trash" and "Delete" menu items permanently delete ...
user avatar
  • 101
0 votes
1 answer
43 views

Under what conditions would deleted files restore themselves?

Just to be clear I'm not looking for how to restore deleted files. Using Arch (5.16.8-arch1-1) and KDE (Plasma 5.24.0). I just went to check my Trash folder to restore something, only to find out that ...
user avatar
0 votes
0 answers
19 views

Impossible to empty trash with old Mac OS installer

I've downloaded an old Mac OS installer to my laptop (to be installed on another older Mac): this Mac OS installer doesn't run on my MacBookPro since it way too old, therefore it's icon is crossed. ...
user avatar
0 votes
0 answers
2k views

Error : Failed to delete the item from the trash

I were looking for some folders in my OS, while I clicked on /media/username/ directory and I see that weird in that directory have 100+ folders and every folder name is similar except last numbers ...
user avatar
  • 1
0 votes
2 answers
234 views

Deleted files keep reapearing on desktop after sorting

I have been doing a lot of work on my desktop recently, but since I like a nice clean desktop I have deleted all the files after I am done with them. Since I like to have my desktop icons sorted from ...
user avatar
  • 125
0 votes
0 answers
483 views

Operation not permitted

I am trying to delete files from trash on my MacBook. I have tried to remove with: sudo rm -rf /.Trash ~/.Trash Can not remove all files from Trash in OS X But I get Operation not permitted error ...
user avatar
  • 101
1 vote
1 answer
127 views

Tweak Nemo so that Delete key doesn't delete irretrievably (NTFS)

OS: Linux Mint 18.3 It appears that on a Linux-type partition pressing the Delete key sends a file or directory to Trash (called "Rubbish Bin" in my system, maybe because I'm in the UK). But if I ...
user avatar
2 votes
1 answer
261 views

macOS Catalina cannot remove file from trash

I have already tried everything which comes to my mind I cannot remove file from trash OPTION key doesn't work same as sudo rm -rf - says Operation not permitted same using root user.
user avatar
0 votes
0 answers
44 views

OS X | Impossible to empty my trash

There are four folders in my trash which are resisting any kind of deletion. So far I´ve tried multiple ways but im still stuck. I already searched for the same problem on superuser but so far no ...
user avatar
  • 1
2 votes
1 answer
137 views

Filling up your hard drive to securely remove trash

Let's say I had personal information and put it in my Trash. Then, I cleared my Trash. I believe that when you delete files from your Trash, it only removes the files' information from the filesystem ...
user avatar
2 votes
0 answers
426 views

Can't erase folder

sudo rm -rf Doesn't work: rm: .../abc: Directory not empty which is. ~/Desktop/abc $ ls -anw total 0 drwxr-xrwx 3 501 20 96 Nov 4 20:30 . drwx------+ 11 501 20 352 Nov 11 23:34 .. ~/...
user avatar
  • 121
2 votes
1 answer
577 views

USB key with trash and invisible files into it : how?

I have an USB key, FAT formatted, used on a Windows configuration, and as far as I know, a Windows Vista one (this is not my own key). On this key, I have 9 photos. I discovered that the trash ...
user avatar
  • 255
2 votes
1 answer
4k views

Windows 10 My trash takes ages and then does not open

When I try to open my trash it doesn't let me, but I suspect I accidentally deleted some stuff. It gets to about 95% and just keeps loading forever. Is there a way I can see what's in the trash ...
user avatar
  • 878
0 votes
1 answer
2k views

How to remove an application from OS X Launchpad when it has no X, does not appear in the applications folder, and refuses to go into the trash?

I wish to remove this application from Launchpad - and preferably Spotlight as well. Screenshots are linked at the bottom of the post. I have an application (a game) called The Bridge that I ...
user avatar
0 votes
1 answer
834 views

Deleted files still taking space because I didn't empty the trash can on my school

The question simple, but I don't know what to do, I have an external HDD (1TB) and this morning I have deleted a folder with 30GB of contents, but I forgot to empty the trash. Now I can't copy more ...
user avatar
  • 103
1 vote
1 answer
691 views

How to empty STUCK Trash with Automator

I want Automator script to remove files from Trash without user input. AppleScript empty the trash only works on unstuck files. Similar commands work in Terminal to remove files. sudo rm -rf ~/....
user avatar
1 vote
1 answer
68 views

How to create a custom delete folder in Outlook 2016?

With Outlook 2007 I could go into account settings and choose my own folder where deleted items can go - the reason was to keeps the deleted emails forever, because Google (GMAIL) purges it every ...
user avatar
1 vote
0 answers
142 views

can't delete directories from RAID trash

I have a 9TB RAID 0 comprised of 3x3TB drives. I can't delete some directories that have been moved to the trash. Volumes/LTO ≈:≈ sudo rm -vrf ./.Trashes/ rm: ./.Trashes//503/c/c: Directory not empty ...
user avatar
3 votes
2 answers
4k views

How to rebuild missing trash bin (and possible other system) folder(s) in Mozilla Thunderbird

Frequent related problems : I can't delete any message in Mozilla Thunderbird The trash bin in Thunderbird is gone missing, causing the impossibility to delete any message
user avatar
  • 103
2 votes
0 answers
4k views

"Directory not empty" when I try to remove a folder from trash

I am going crazy: I can not delete a folder inside the trash of my external drive. The file path is /Volumes/drive_name/.Trashes/501/dir_name/ I tried sudo rm -R /Volumes/drive_name/.Trashes/501/...
user avatar
  • 121
0 votes
1 answer
2k views

What is the point of the .trashes file in Mac Os X?

What is the point of the '/.trashes' file in Mac Os X? It appears to be useless. I've never seen it being used by programmers. Would it be bad to delete it?
user avatar
1 vote
0 answers
69 views

Intelligent cleaning up the Trash on GNU/Linux

Currently I see no solution to clean up ~/.local/share/Trash in an intelligent way. Intelligent means: When a specific threshold value (complete size of Trash, age of file or delete-timestamp, count ...
user avatar
  • 250
0 votes
1 answer
936 views

File in Trash unable to be deleted

OSX El Capitan won't let me delete a file in my Trash. I've tried everything -- the secret keyboard shortcut, going to ~/.Trash in Terminal and doing an rm -rf, etc. Here's a Bash session that shows ...
user avatar
1 vote
1 answer
531 views

How can I trash a “windows.old” folder in Mac OS X?

I deleted the windows.old folder when I am in Mac OS X and it is now in the trash. However, I found neither can I empty the trash nor put the folder back to the drive with Windows installed. If I ...
user avatar
  • 481
2 votes
1 answer
2k views

"Unable to find or create a directory of the trash" on NTFS partition

I use RFRemix, desctop XFCE4 ]$ uname -a Linux localhost.localdomain 3.17.4-302.fc21.x86_64 #1 SMP Thu Dec 4 19:12:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux When I try to delete from NTFS ...
user avatar
2 votes
2 answers
2k views

Can't open Trash: operation not supported

I messed up with some .h files some days ago and since then I have strange issues with my Linux Mint 17. I cannot open my Trash, I get an error saying something like "sorry could not display all the ...
user avatar
  • 121
4 votes
3 answers
11k views

Can't find / open recycle bin in Windows 7

This may sound like a stupid question but I've configured my Desktop to display the Trashcan but I cannot click on it because I've got so many files and folder on my desktop that these flow past the ...
user avatar
8 votes
2 answers
9k views

gvfsd-trash's way of clearing the trash

One of the way that make the laptop reach for its limits is when its clearing up the trash in a gnome based DE with nautilus based FM. With the trash has about a plethora of files (for example, a copy ...
user avatar
0 votes
1 answer
136 views

Windows 7 - Run program when Recycle Bin Emptied

Is there a way to make a program run every time the Recycle Bin is emptied in windows 7?
user avatar
4 votes
1 answer
1k views

When Deleting Files from External Drive I am Constantly Being Prompted for Assurance

I have the new Mac Pro with 10.9.3. The Home Folder is on a separate drive using magnetic links. Lately things have not been running normally. One of the main issues is that every time I want to ...
user avatar
0 votes
1 answer
414 views

File deletion bypassing trash on OS Mavericks

Deleting files in finder is now permanently deleting the files (i.e. basically doing rm filename) and is not moving the items to trash. How do I fix this behavior? I like being able to undo my ...
user avatar
-1 votes
1 answer
204 views

How can an app delete large files without using the Trash?

The App Store app "Trash Without" states the ability to permanently delete large files instantly, avoiding the OS X Trash entirely. How can it do that?
user avatar
1 vote
2 answers
79 views

Is the "Trash" bin an application or a directory/folder?

If a simple directory, is it possible to edit links to it so they now point toward a different directory? A different directory that will perform the same tasks as the original "Trash" folder normally ...
user avatar
  • 121
3 votes
2 answers
2k views

Linux Ubuntu, How to clean cookies from web browsers

How do I empty the trash though the terminal, and how do I get rid of cookies that have accumulated in the web browsers under linux?
user avatar
  • 31
0 votes
3 answers
48 views

Public domain app to send files to trash in OS X

Is there any Public Domain (using the unlicense or something similar, not really relevant) app that sends files to the trash in OS X? There are a bunch of alternatives to this (example), but I need a ...
user avatar
  • 1,030
1 vote
1 answer
104 views

Unable to delete File [duplicate]

I'm completely unable to delete a file, which doesn't even show up in Windows, but does in OSX (Mountain Lion) this file was created after uninstalling AppServ (local webserver) Now I need to ...
user avatar
  • 11
2 votes
3 answers
5k views

OS X won't move files to Trash

I am trying to delete some things and put them in my trash. It says "Moving items to trash", but the dialog is now open since 24 hours. When I try to empty my trash it won't let me due to the fact ...
user avatar
0 votes
1 answer
341 views

Fast Way To Securely Empty Trash in OS 10.4.11

How can I quickly "empty the trash" using "secure empty trash"? As of now, it takes for ever to empty large files. Thank you
user avatar
2 votes
1 answer
542 views

Can't secure empty trash in OS X

I'm trying to empty the trash but it shows an alert that prompts me to Stop or Continue. When I click Continue it terminates the process – but how do I format or empty the trash in OS X?
user avatar
  • 123
2 votes
0 answers
2k views

Deleted files still taking up space on OS X Lion

Last night I started to delete 100GB worth of VirtualBox disk images on a MBP running Lion. A dialog box opened saying that the trash was preparing to empty, but nothing happened for a good 20 minutes....
user avatar
-1 votes
1 answer
181 views

Fresh re install of debian does not empty trash in gnome

I used to have 2 partitions on my 750 GB disk. The first one : 200 GB for windows The second one : 500 GB for debian Lately, I decided to throw away windows by deleting everything on the 200 GB ...
user avatar
9 votes
1 answer
5k views

Why is rm -rf ~/.Trash/* much faster than clicking "empty trash"?

On a Mac computer, when you write rm -rf ~/.Trash/* in the terminal, it almost instantly deletes all the files in the Trash. But when I click "empty trash", it takes forever to delete them all.
user avatar
1 vote
1 answer
2k views

Using Mac OS X `at` to schedule a daily task to clear out .Trash folders

How do I use the OS X at command to schedule a daily clean-up of the user's .Trash folder? I'm thinking something along the lines of: rm -rf ~/.Trash/**/* | at 0:00 + 1 day Will this clean the ...
user avatar
3 votes
0 answers
781 views

Move to Local Trash when deleting IMAP messages in Thunderbird

I have tried to find a solution for this for a while now without luck. Wanted to check if there already is an add-on or easy hack before I attempt to write my own. In my opinion this must be quite a ...
user avatar
  • 140
4 votes
1 answer
92 views

Is there a way to empty trash and compress a folders on all of my Thunderbird IMAP accounts with a single click?

OK, actually that will take clicks: one click for emptying the trash, and the second click to compress the folders. I want to do this on all my IMAP accounts in Thunderbird, so I don't have to do it ...
user avatar
  • 504
3 votes
4 answers
18k views

Mac Trash won't empty, and rm ~/.Trash/* does nothing

The Trash icon on my Dock shows the Trash containing files. I tried right-clicking and Empty Trash, but it still shows files there. When I open the Trash folder in Finder, I can see several files ...
user avatar
  • 2,976
1 vote
3 answers
771 views

Can't do anything with Ext. HDD, ".Trashes" is probably the boogyman. (On a MAC!)

I bought an external hard drive today. It's a Samsung. But I'm not able to do anything with it. A few notes on that: I can't put anything on the hard drive. It keeps on 'preparing copying files'. ...
user avatar
4 votes
3 answers
12k views

Emptying the trash takes "forever": is using rm -r safe to use in Mac OS X 10.7 (Lion)?

Emptying my Trash in Mac OS X 10.7 (Lion) (non securely) is taking about three hours (about 1.5 million files, from a Time Machine backup). I had to stop the process a few times already, because I ...
user avatar
11 votes
5 answers
42k views

How to restore all the files from trash in Mac OS X?

I can put back the items one by one, but there are too many files, how could I restore all the files in the trash?
user avatar
  • 243