Questions tagged [trash]
61 questions
141
votes
6 answers
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 for rm and is there a way of undoing an rm…
boehj
- 2,580
- 4
- 23
- 22
16
votes
2 answers
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's still there but it's marked as deleted").
If I…
DavideRossi
11
votes
1 answer
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 I see expunged, files, and info directories --…
Stann
- 2,159
- 5
- 23
- 24
11
votes
3 answers
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 will never need it ever again. Period. I'm currently…
n0pe
- 9,411
- 13
- 60
- 108
11
votes
4 answers
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/shared where I store my shared files (this folder is…
dbzix
- 111
- 1
- 6
10
votes
1 answer
Using Trash with Mutt: Does it make sense?
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 moved every deleted message to the Trash folder…
Profpatsch
- 1,749
- 4
- 20
- 23
10
votes
3 answers
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 folders which are 'file' and 'info' where file…
William Ross
- 313
- 1
- 4
- 11
10
votes
1 answer
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 there anyway to have a similar feature installed like…
rfgamaral
- 455
- 2
- 7
- 19
7
votes
2 answers
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 PCManFM and xfe put files you sent to the Trash? Thanks.
hpy
- 4,517
- 8
- 53
- 73
7
votes
2 answers
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, while in Thunar it behaves as "Permanently delete".…
Alois Mahdal
- 4,330
- 11
- 40
- 62
6
votes
3 answers
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 (set beep_new) when a new message is found in the…
user001
- 3,598
- 5
- 39
- 54
6
votes
2 answers
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 general, if I can find a file in nautilus, how do I…
math4tots
- 2,665
- 8
- 32
- 42
6
votes
4 answers
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 had to delete some files from my /var/log folder to…
shivams
- 4,505
- 3
- 19
- 36
5
votes
2 answers
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 root root 4096 May 19 16:52 .
drwx------ 4 root root…
Tim
- 98,580
- 191
- 570
- 977
4
votes
0 answers
File deletion bypasses trash bin on Btrfs subvolumes
Nautilus trash do not move file to trash bin on btrfs file system
instead it deletes them permanently. Thunar seems to do the same thing,
and it seems related to lower level library implementation of the trash
bin.
I added a new directory…
Émilien
- 61
- 7