Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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"

2
votes
1answer
39 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 ...
2
votes
0answers
174 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 .. ~/...
2
votes
1answer
47 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 ...
2
votes
1answer
50 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 ...
0
votes
1answer
346 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 ...
0
votes
1answer
72 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 ...
1
vote
1answer
460 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 ~/....
1
vote
1answer
50 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 ...
1
vote
0answers
114 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 ...
1
vote
1answer
2k 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
1
vote
0answers
2k 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/...
0
votes
1answer
852 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?
1
vote
0answers
59 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 ...
0
votes
1answer
573 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 ...
1
vote
1answer
315 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 ...
2
votes
1answer
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 ...
0
votes
0answers
1k 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 ...
2
votes
3answers
6k 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 ...
7
votes
2answers
4k 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 ...
0
votes
1answer
83 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?
4
votes
1answer
984 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 ...
0
votes
1answer
403 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 ...
-1
votes
1answer
196 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?
1
vote
2answers
69 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 ...
3
votes
2answers
880 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?
0
votes
3answers
42 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 ...
1
vote
1answer
98 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 ...
2
votes
3answers
4k 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 ...
0
votes
1answer
314 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
2
votes
1answer
531 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?
2
votes
0answers
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....
-1
votes
1answer
178 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 ...
6
votes
1answer
2k 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.
0
votes
1answer
972 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 ...
3
votes
0answers
719 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 ...
4
votes
1answer
84 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 ...
3
votes
4answers
16k 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 ...
1
vote
3answers
494 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'. ...
4
votes
3answers
11k 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 ...
10
votes
5answers
31k 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?
0
votes
0answers
18k views

Files on my Mac have disappeared and are not in the Trash

I had few folders where the contents are missing (Desktop, Documents, Download, Files and a few folders from Library/Application Support). I also realized that those folders are the first few in my ...
1
vote
3answers
410 views

Unable to delete folders in trash which containing .svn files

Now I am stuck with strange errors in my MacBook Pro. I am not able to empty folders in trash which contain .svn files. I tried to surf around the net and unfortunately i am still stuck in it. Is ...
0
votes
1answer
474 views

Undo deletion of target directory after finding out OS X can't merge directories

I am a developer on OSX. I like to believe I know a lot about computers, but now I feel a mix of sillyness, disbelief and rage. Also, please excuse the drama. ;) I was working on a web project when I ...
0
votes
0answers
2k views

Time Machine is getting stuck at “Preparing to Back Up” and my Trash isn't emptying

I have encountered two separate problems, but I am putting them in the same question in case they are related. First, my Trash would not empty. It seems to be getting stuck on certain files, because ...
2
votes
1answer
4k views

Can't delete items from Trash

There are some locked files in my trash that I removed from an external hard drive. I have tried a few different things but I delete them. I have tried: sudo rm -rf ~/.Trash mkdir ~/.Trash killall ...
0
votes
1answer
83 views

Can I securely trash a folder that contains applications without ruining the applications on my HD?

I get a dialogue box asking if I want to leave or trash associated files as I am trashing an application. The folder in question is a duplicate of one I have saved in Documents. The applications are ...
0
votes
1answer
2k views

OS X deletes all files and doesn't send them to the Trash first

Recently I found that when I delete a file, it asks for my password and then it will delete the file permanently without going into the Trash first. Any way to change that, so that I could retrieve ...
0
votes
1answer
118 views

How to prepare an old, dead computer that is full of personal information for giveaway? [duplicate]

Possible Duplicate: Securely erasing all data from a hard drive What is a safe way to dispose of personal info on an old laptop and what to do with said laptop? I have a Dell laptop from 2006. ...
5
votes
4answers
4k views

Cannot delete file in OS X

I have a file in trash, and I cannot delete it. Before you ask me to STFW, no, the file is not locked :-/ The file is a symbolic link to nothing (target is deleted). Here is the output of ls -lO on ...
3
votes
1answer
860 views

Custom trash icons does not refresh (windows 7)

I changed Desktop Recycle Bin default icons to custom ones. One for empty and one for full. But the problem is that the icons dont switch by themselves. I have to manually refresh desktop for icons to ...