github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

muhuk / tms

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • muhuk
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Trash Manager for KDE — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Test directory entries as well 
muhuk (author)
Fri May 01 03:09:12 -0700 2009
commit  57ab81c332a9a186a8c2b0148760fdd8b395c4f1
tree    8472a1e9aaa20a4b7a33f602835e235b22f99bd9
parent  84b7235ca0229243842979cb6799caca92eb0dc0
tms /
name age
history
message
file LICENSE.txt Loading commit data...
file README.markdown
directory bin/
directory legacy/
directory lib/
README.markdown

tms is a trash manager for KDE desktop. It deletes old items in your trash until the specified size is reached.

Installation

  • lib/tms directory must be in your PYTHONPATH environment variable.
  • bin directory should be in your PATH environment 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.

clean_invalid_entries

erase_log

Usage

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server