Giter Site home page Giter Site logo

Comments (4)

bneijt avatar bneijt commented on August 16, 2024 1

The lowercase -t option is only available in a newer version of autotrash, here is the help of 0.2.1 :

Usage: autotrash -d <days of age to purge>
Options:
  -h, --help            show this help message and exit
  -d DAYS, --days=DAYS  delete files older then DAYS number of days.
  -T DIRECTORY, --trash-path=DIRECTORY
                        empty the trash path in the given DIRECTORY instead of
                        using the user home directory
  -t, --trash-mounts    Process all user trash directories instead of just the
                        one in the home directory
  --max-free=M          only run if less then M megabytes of free space is
                        left.
  --delete=M            delete at least M megabytes.
  --min-free=M, --keep-free=M
                        set --delete to make sure M megabytes of space is
                        available.
  -D REGEX, --delete-first=REGEX
                        push files matching this REGEX to the top of the
                        deletion queue
  -v, --verbose         be more verbose, a must when testing something out
  -q, --quiet           only output warnings
  --check               report .trashinfo files without a real file
  --dry-run             just list what would have been done
  --stat                show the number, and total size of files involved
  -V, --version         show version and exit

from autotrash.

bneijt avatar bneijt commented on August 16, 2024

Could you post the autotrash --help and autotrash --version output?

from autotrash.

SiqingYu avatar SiqingYu commented on August 16, 2024

Version 0.1.5
Copyright (C) 2008 A. Bram Neijt [email protected]
License GPLv3+

from autotrash.

SiqingYu avatar SiqingYu commented on August 16, 2024

Usage: autotrash -d

Options:
-h, --help show this help message and exit
-d DAYS, --days=DAYS delete files older then DAYS number of days.
-T PATH, --trash-path=PATH
set Trash path to PATH. Default: ~/.local/share/Trash
--max-free=M only run if less then M megabytes of free space is
left.
--delete=M delete at least M megabytes.
--min-free=M, --keep-free=M
set --delete to make use M megabytes of space is
available.
-D REGEX, --delete-first=REGEX
push files matching this REGEX to the top of the
deletion queue
-v, --verbose be more verbose, a must when testing something out
-q, --quiet only output warnings
--check report .trashinfo files without a real file
--dry-run just list what would have been done
--stat show the number, and total size of files involved
-V, --version show version and exit

from autotrash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.