muhuk / tms
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
LICENSE.txt | ||
| |
README.markdown | ||
| |
bin/ | ||
| |
legacy/ | ||
| |
lib/ |
tms is a trash manager for KDE desktop. It deletes old items in your trash until the specified size is reached.
Installation
lib/tmsdirectory must be in yourPYTHONPATHenvironment variable.bindirectory should be in yourPATHenvironment variable.
TODO: Better installation mechanism and docs.
Configuration
trash_size_limit
Desired trash size after operation. When this criteria is met, erasing will stop. Value of this parameter must be a non-zero integer followed by one of the letters K, M or G (for kilobyte, megabyte and gigabyte respectively).
Default value: 512M
trash_size_limit=4608K # 4.5 megabytes
trash_size_limit=400M # 400 megabytes
trash_size_limit=2G # 2 gigabytes
Unit conversion is done strictly; 1M = 1024K, 1G = 1024G.
erase_older_than
Only items older than specified time can be erased during operation. If all
remaining items in trash are newer, erasing will stop even if trash size
larger than the trash_size_limit. Value of this parameter mush be an
integer. It will be interpreted as age in days.
Default value: 14
erase_older_than=100 # Keep items at least 100 days
erase_older_than=5 # Keep items at least 5 days
erase_older_than=0 # Disable. All items are
# candidates for erasing.
To disable this feature set erase_older_than to 0.

