Steven D'Aprano wrote on 1/10/20 5:03 PM:
> On Fri, Jan 10, 2020 at 03:37:44PM -0700, D. R. Evans wrote:
>
>> I expect I'm being blind and it's somewhere obvious, but I can't find any
>> information on configuring trash in TDE.
>>
>> Example questions for which I'd like to find answers: how large can it grow?
>> how long can files stay in trash before they're deleted? where is trash
>> actually located?
>
> As far as I know, the answer to the first two questions is "as big as
> the available space on your hard drive" and "until you choose Empty
> Trash from the menu".
>
Hmmm... I know there have been some versions of *K*DE that allowed the user to
set those two values -- I certainly don't want a 4TB drive to get filled with
files I no longer want; and I also don't want to have "Empty the trash" as the
only option for decreasing its size. But I don't know if *T*DE has ever
provided anything like that, or indeed whether recent versions of *K*DE do
so... I think I must have just assumed that configuration was possible when I
switched to TDE.
So I'm hoping that someone will post a different answer :-)
> The location of the trash is:
>
> ~/.local/share/Trash
>
> but you probably shouldn't mess with it, I'm not sure how resilient
> Konquorer is if you mess with the trash's internal structure.
And that would mean that I can't even write a script to age things out of the
trash gracefully if it indeed turns out that I can't control aging or size
with configuration values in the config file. Not good. In fact, so not good
that I'd have to figure out some completely different trash mechanism :-(
I suppose I could create an entirely separate and rather small filesystem just
for trash, but that has the distinct odour of a kludge.
Doc
PS Hmmm... after a bit of experimenting, I don't think that trash will expand
to fill the disk. On the system on which I'm typing this, there seems to be a
hard limit of about 30GB. I have no idea where that number comes from, though.
--
Web: http://enginehousebooks.com/drevans
Attachments: