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 tag has no usage guidance.

0
votes
0answers
67 views

cannot find Trash folder! Ubuntu 18.04

I am running a preinstalled version of ubuntu 18.04 but cannot find Trash folder. The typical places don't have the folder. ~/.local/share/Trash <-- does not exist /root/..../Trash <-- does ...
1
vote
0answers
103 views

How to enable Trash on NTFS

In Ubuntu 18.10 I can't use the trash on my NTFS partition. When deleting a file Nautilus prompts to permanently remove it. In Solus trash works on this partition. Any ideas how to enable trash or ...
1
vote
1answer
45 views

Is it possible to intercept calls to unlink and redirect files to /trash?

I would like to know if there is a way to create a trash by intercepting calls to unlink. Theoretically files would be timestamped and deleted after set time period.
0
votes
0answers
29 views

Samba share: Create a desktop.ini file in the Trash folder automatically (vfs_recycle). Execute script when file deleted?

I have a Samba share with vfs_recycle enabled. I have several users in the system and each of them have access to their own "Personal" share based on their username. Each of them have their own Trash ...
0
votes
1answer
70 views

How can I manage a trash created under `/`?

Last time I trashed a file $ pwd /tmp/test $ trash mfile trash: cannot trash regular file `mfile' $ sudo trash mfile $ and the file went into $ sudo ls /.Trash/0/files -la total 12 drwx------ 2 ...
2
votes
1answer
324 views

Missing Trash mechanism in Xfce after manual RHEL installation

Installation by steps: RHEL minimal (prompt only & internet connection) X Window system epel-release Xfce (+some plugins) After all I can't find Trash folder. I guess I forgot to install ...
0
votes
1answer
489 views

How to get the trash and x-gvfs-show partitions on Thunar via AwesomeVM?

TL;DR: custom partitions and trash is not showing on Thunar via AwesomeVM. XFCE: Awesome: My fstab is: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique ...
2
votes
1answer
174 views

pcmanfm doesn't send files to trash on external drive

I have a HDD which I mount on /mnt/sda1 at startup (in /etc/fstab) Whenever I want to send a file to the trash in pcmanfm, I get the following message : Some files cannot be moved to trash can ...
3
votes
3answers
3k views

How to disable creation of .Trash-1000 folder?

I have a 32 GB USB flash drive. When deleting files from the drive where the drive is plugged into a Ubuntu 16 laptop, it creates a folder called '.Trash-1000' This .Trash-1000 folder contains two ...
0
votes
1answer
566 views

How can I enable Trash feature in a NTFS partition with permissions?

I'm currently trying to able the Trash feature in a NTFS partition mounted automatically on boot. To do that I'm using the permissions option in my fstab: UUID=1CACB8ABACB88136 /media/FILES ntfs ...
0
votes
0answers
20 views

Size difference of (deleted) empty folders [duplicate]

I deleted a few empty folders with Thunar. In the Trash, all these folders are listed with the size 4,1 kB, except for one, which is listed with the size 20,5 kB: ls -l (in .local/share/Trash/files) ...
0
votes
2answers
419 views

Nautilus shows files in Trash, can't be located on cli

When browsing to trash:/// in Nautilus, I see a long list of files and directories that I recognize and remember placing in the trash. However, attempting to delete them from Nautilus either results ...
0
votes
1answer
784 views

How to obtain a trash can icon on the dektop (Xfce)

On the desktop in Xfce 4.10, the trash can icon seems to be replaced by a pdf icon. How can I replace it by a trash can icon?
1
vote
1answer
322 views

What methods for overwrite protection and accidental removing are there?

Apart of unix perms are there other protection for don't remove or overwrite files? By example: Restringing dirs than rm can delete. Overwrite protection when I made cat >file instead of cat >>file ...
-1
votes
1answer
279 views

where does Linux store the information the trash can uses?

I've found many post on how to get a trash can on the system. What I am looking for is the, "how does Linux know where to put that trash back to"? where is the file that holds this information on ...
1
vote
1answer
1k views

How to empty trash on boot partition

I had deleted some old kernels a while back to make space on my boot partition (using elementary os), but now I realize they went into the trash-0/files folder on the boot, I tried opening sudo ...
2
votes
1answer
243 views

According to what does GNOME purge the trash “30 days later”?

In GNOME 3.18 Settings > Privacy > Purge Trash & Temporary Files, one can configure the desktop environment to automatically empty Trash "after 30 days". The description here isn't very clear. Is ...
4
votes
4answers
5k views

Unable to delete a file whatever I do

So here is my problem I have a pretty strange file that I can't get out of my computer. I tried pretty much everything. First I used software like CleanMyMac, TrashIt, CCleaner etc... None of them ...
0
votes
1answer
36 views

Why do I have 4 Sets of Icons

Since a picture speaks 1,000 words: Why is this happening in KDE 4.14.3. The Gentoo Stable package of kde-base/kde-meta I've emptied my user's Trash Can, but how can I determine why I have 4 Sets ...
0
votes
2answers
1k views

Debian: Move the trash folder for all users to another volume

I need to have all deleted files for all users go into a folder on another drive. Is this possible? If so, what are the commands to permanently move the trash folder(s)? The operating system is ...
6
votes
3answers
3k views

Where is the trash can for root partition?

I use trash-put to trash files from command line. Recently, I had aliased my rm command to trash-put so that I don't accidentally delete something important. However, what happened now was that I ...
0
votes
3answers
1k views

No delete or move to trash in context menu in some directories (gnome)

On archlinux with gnome 3.16.1, in some directories, for example /srv/http/website/public/img/ I don't have options to delete a file , or move to trash, in the rightclick context menu . I have to use ...
2
votes
0answers
126 views

Restore Trash Script not working

I made a script to send a file to a trash folder... echo "Are you sure you want to move this file to the Recycle Bin?" "(Yes/No)" read ans case "$ans" in Yes) echo "$(readlink -f "$1")" >> "$...
0
votes
1answer
974 views

Cannot stat error?

Running a "restore" script which moves a file previously deleted (moved to a trashbin folder) back to where it came from. Running the secondary script I receive this error... "mv: cannot stat `test': ...
0
votes
0answers
195 views

mint 13 xfce: cannot find or make trash bin

I have a problem with removing files from some partitions. I get an error: cannot find or make trash bin. I have searched google for this and found a site suggesting the partitions are mounted ...
0
votes
1answer
267 views

Applying limits to the Trash on Debian Wheezy

I'm using Debian Wheezy, with Gnome 3 and Nautilus and I was wondering if there was any way to limit the Trash to a certain total size or at least file age. I'm in need of this as I usually handle ...
6
votes
3answers
2k views

Unable to delete files to trash in a bind-mounted filesystem

I'm trying to set up shared home directory for two Linux installations and thus I'm using bind-mounts. My user is named dbz and his home directory is /home/dbz. I also have shared directory /home/...
6
votes
1answer
958 views

Why I cannot move to trash from /var/tmp?

I just found out on Fedora 20, that neither with Thunar nor Nautilus (I'm using Xfce4 here), I can't move file from /var/tmp to Trash. More precisely, in Nautilus the menu option is not available, ...
7
votes
1answer
20k views

How can I have a Trash/Recycle Bin for my Samba shares?

I have a couple of Samba shares on my NAS running Debian Squeeze which I access through Windows 7. Deleting any of the files from Windows will completely delete the files from the NAS server. Is ...
1
vote
1answer
255 views

KDE-dolphin trashcan on second HDD

From KDE I use only dolphin. I've pulled out second hdd for a couple of days (also changed fstab). Now I put it back and dolphin won't "see" /hdd2/.Trash-1000/ and if I delete file /hdd2/file1 it ...
1
vote
2answers
2k views

/dev/null-like automatic trash directory for file moves?

I can (redirect) textual output to /dev/null in order to get rid of it. This is quite handy because this way I can easily enable/disable it in my bash code. Now I have a script that processes files, ...
1
vote
4answers
2k views

Deleted files from home, deleted them from .local/share/Trash/files, System doesn't report back free space

I am running Crunchbang, a Debian variant with OpenBox WM. I have deleted a large number of files via browsing in thunar file manager and pressing del key. They disappear from view. I then go to ~/....
1
vote
2answers
361 views

Can't remove same folder name twice

I have a folder called - bin , then I remove it by rm bin , re-create it and when I want to remove it again by rm bin the shell promts - /bin/mv: cannot move `bin/' to `/u/y2010/zarnihu/../...
10
votes
1answer
3k views

Using Trash with Mutt: Does it make sense? [closed]

I come from Thunderbird, which I found to be bloatware with spontaneous hiccoughs using 20–40% of processing power, weak IMAP and local mailfolder handling and a constant 100–500MB of RAM use. But it ...
0
votes
2answers
5k views

How to find last deleted files on OpenSuse?

I didn't lock the screen on my OpenSuse Linux and let my girlfriend do all evil things when I was sleeping. Is there a way to find out if she deleted any files from my PC? I was looking at the "Date ...
1
vote
1answer
2k views

How to delete a file to the trash in BASH (Linux) [duplicate]

Possible Duplicate: Make `rm` move to trash I've looked everywhere for the answer, but I can't find it. Is it possible to move/delete a file to the trash folder on linux. But also having the ...
5
votes
3answers
3k views

mutt: mark as read and delete

I discard some messages without reading them. After deleting said messages, however, I am soon alerted to the presence of unread mail in my trash can. Is there a way to either: disable the alert (...
6
votes
2answers
1k views

How to find Nautilus wastebasket in the file system

It looks like I can get to the waste-basket through nautilus, but when I look at the location given by properties, I see "trash:///". But I can't "cd trash:///". Where is the waste-basket? And in ...
10
votes
1answer
3k views

What are the .Trash-500 and .Trash-1000 directories?

I have a DNS-321 NAS drive which apparently runs Linux, so I logged in via ssh and I see .Trash-500 and .Trash-1000 directories. I realize that they're for trash, but why do I need two? Inside of them ...
16
votes
2answers
595 views

How does “rm” on a NTFS filesystem differs from Windows' own implementation?

I have an external USB disk with an NTFS filesystem on it. If I remove a file from Windows and I run one of the several "undelete" utilities (say, TestDisk) I can easily recover the file (because "it'...
6
votes
3answers
4k views

How to disable the trash can in KDE

From what I gather, the idea of a "trash can" is of Windows descent, and was to make a user's life easier. However, when I go to delete a file, I don't hit delete unless I know I don't need it and ...
2
votes
1answer
782 views

Move to trash confirm box

I am using Fedora 14 (Laughlin) with GNOME 2.32.0. I have gconf-editor installed. In gconf-editor apps->nautilus->preference confirm_trash is enabled i.e., checked, also in nautilus file browser, home ...
91
votes
6answers
208k views

Where do files go when the rm command is issued?

Recently I accidentally did rm on a set of files and it got me thinking where exactly these files end up? That is to say, when working with a GUI, deleted files go to the Trash. What's the equivalent ...
7
votes
2answers
10k views

Where is the trash directory for PCManFM and xfe?

I've got PCManFM and Xfe as graphical file managers in my Arch Linux with Openbox. When I click on the Trash link in PCManFM I get an error saying "Operation not supported". Question: Where do ...