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
0 answers
15 views

Would it be possible to remap the Delete key in Nautilus to a custom script instead of gio?

In Ubuntu 22.04 with GNOME 42.5, pressing the Delete key while in Nautilus runs gio trash. There has been a long-standing issue with the way gio handles Trash within subvolumes in the btrfs file ...
Majal's user avatar
  • 856
1 vote
1 answer
279 views

Htaccess remove trash from end of URL using redirect 301

I need to remove "trash" from the end of the URL. I have more than 1000 URLs with this word: "card link" at the end of the URL. The URL before the word "card link" is ...
Adamo Santos's user avatar
0 votes
1 answer
2k views

How to empty trash on external disk on MacOS?

I am using MacOS Ventura 13.1 and I want to do something really complicated and hard: Empty the trash on an external drive! Normal method: Open Trash, click on empty: The operation can't be completed ...
Alex's user avatar
  • 580
0 votes
0 answers
68 views

How to move all old files from Downloads to the trash with one or more terminal commands in macos?

I already found the command with which I can select all the files and directories that I do not want to send to trash. That command looks like this: find ~/Downloads -newerat "2 months ago" -...
Evert's user avatar
  • 131
0 votes
1 answer
18 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 ...
Elijah's user avatar
  • 1
0 votes
1 answer
196 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 ...
arthur.sw's user avatar
  • 101
0 votes
1 answer
61 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 ...
temhotaokeaha's user avatar
0 votes
0 answers
27 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. ...
Paolo Bartoli's user avatar
0 votes
0 answers
3k 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 ...
BruTe's user avatar
  • 1
0 votes
2 answers
292 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
0 votes
0 answers
1k 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 ...
NathanGL's user avatar
  • 101
1 vote
1 answer
215 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 ...
mike rodent's user avatar
2 votes
1 answer
323 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.
Jakub Swistak's user avatar
0 votes
0 answers
90 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 ...
Niko's user avatar
  • 1
2 votes
1 answer
313 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 ...
mike1024's user avatar
2 votes
0 answers
428 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 .. ~/...
GuilhE's user avatar
  • 121
2 votes
1 answer
801 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 ...
Oliver's user avatar
  • 255
2 votes
1 answer
6k 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 ...
Eoin's user avatar
  • 943
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 ...
John Fisher's user avatar
0 votes
1 answer
1k 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 ...
z3nth10n's user avatar
  • 103
1 vote
1 answer
775 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 ~/....
mark stewart's user avatar
1 vote
1 answer
72 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 ...
Erin Walker's user avatar
1 vote
0 answers
147 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 ...
NMAAHC MediaLab's 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
Z80's 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/...
Ford1892's 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?
John Militer's user avatar
1 vote
0 answers
72 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 ...
buhtz's user avatar
  • 299
0 votes
1 answer
942 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 ...
user516414's user avatar
1 vote
1 answer
550 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 ...
C. Wang's user avatar
  • 491
2 votes
1 answer
3k 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 ...
Igor Yukhimenko's user avatar
2 votes
2 answers
4k 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 ...
Octania's 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 ...
John Sonderson's user avatar
8 votes
2 answers
10k 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 ...
user128712's user avatar
0 votes
1 answer
138 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?
user2370460's 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 ...
self-taught_self-made's user avatar
0 votes
1 answer
419 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 ...
Michael Wu's user avatar
-1 votes
1 answer
206 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?
user314779's user avatar
1 vote
2 answers
90 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 ...
les's user avatar
  • 121
3 votes
3 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?
Michael's 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 ...
user137369's user avatar
  • 1,063
1 vote
1 answer
107 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 ...
Sandy's 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 ...
Ruby Pomare's user avatar
0 votes
1 answer
350 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
Edward Travis's user avatar
2 votes
1 answer
548 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?
NANNAV's 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....
Sean Wills's user avatar
-1 votes
1 answer
188 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 ...
user2016599's 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.
averageUsername123's 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 ...
Chris Nolet's user avatar
3 votes
0 answers
814 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 ...
sunn0's user avatar
  • 140
4 votes
1 answer
101 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 ...
superuser's user avatar
  • 524