Fabian42 / bash_scripts

Contains various bash scripts that I have written mainly for myself.
The Unlicense
5 stars 0 forks source link

del: Delete old/big files when trash size limit is reached #26

Open Fabian42 opened 2 years ago

Fabian42 commented 2 years ago

How to figure out how it is currently set? It's some setting in Dolphin.

Deleting only the oldest files or deleting always the biggest files is both not good. Some middle ground should be used. Also, deletion date might be a separate field and should be set and used. Some files might also have weird metadata, for example future dates.

If a file alone already exceeds the limit, warn and delete completely. Add argument for instead skipping those files.