notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Port details
py-trash-cli Command line interface to the freedesktop.org trashcan
0.26.9.14 deskutils on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.24.5.26Version of this port present on the latest quarterly branch.
Maintainer: nivit@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-08-06 09:33:04
Last Update: 2026-09-14 20:16:52
Commit Hash: dbedc4f
Also Listed In: python
License: GPLv2
WWW:
https://github.com/andreafrancia/trash-cli
Description:
trash-cli trashes files recording the original path, deletion date, and permissions. It uses the same trashcan used by KDE, GNOME, and XFCE, but you can invoke it from the command line (and scripts). It provides these commands: trash-put trash files and directories. trash-empty empty the trashcan(s). trash-list list trashed files. trash-restore restore a trashed file. trash-rm remove individual files from the trashcan.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}trash-cli>0:deskutils/py-trash-cli@${PY_FLAVOR}
To install the port:
cd /usr/ports/deskutils/py-trash-cli/ && make install clean
To add the package, run one of these commands:
  • pkg install deskutils/py-trash-cli
  • pkg install py312-trash-cli
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-trash-cli listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-trash-cli
Package flavors (<flavor>: <package>)
  • py312: py312-trash-cli
distinfo:
TIMESTAMP = 1789416767 SHA256 (trash_cli-0.26.9.14.tar.gz) = dfff726023223a864181e23ab5e349abb6a8e85d5341c0a4abb1c9340ad8764e SIZE (trash_cli-0.26.9.14.tar.gz) = 65437

Packages (timestamps in pop-ups are UTC):
py311-trash-cli
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest0.24.5.260.24.5.26n/an/an/an/an/an/an/a
FreeBSD:13:quarterly0.24.5.260.24.5.26n/an/an/an/an/an/an/a
FreeBSD:14:latest---0.24.5.26-----
FreeBSD:14:quarterly---0.24.5.26-----
FreeBSD:15:latest--n/a0.24.5.26n/an/a---
FreeBSD:15:quarterly--n/a-n/an/a---
FreeBSD:16:latest--n/a-n/an/a---
 

py312-trash-cli
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest--n/an/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/an/a
FreeBSD:14:latest0.26.9.140.26.9.14--0.26.9.14----
FreeBSD:14:quarterly0.26.9.140.26.9.14--0.26.9.14----
FreeBSD:15:latest0.26.9.140.26.9.14n/a-n/an/a---
FreeBSD:15:quarterly0.26.9.140.26.9.14n/a-n/an/a---
FreeBSD:16:latest0.26.9.140.26.9.14n/a-n/an/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-setuptools>=63.1.0 : devel/py-setuptools@py312
  2. py312-shtab>=1.7.1 : devel/py-shtab@py312
  3. py312-wheel>=0.44.0 : devel/py-wheel@py312
  4. python3.12 : lang/python312
  5. py312-build>=0 : devel/py-build@py312
  6. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. python3.12 : lang/python312
Runtime dependencies:
  1. py312-psutil>=6.0.0 : sysutils/py-psutil@py312
  2. py312-six>=1.16.0 : devel/py-six@py312
  3. python3.12 : lang/python312
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
deskutils_py-trash-cli
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/t/trash_cli/
  2. https://pypi.org/packages/source/t/trash_cli/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.26.9.14
14 Sep 2026 20:16:52
commit hash: dbedc4f6e98b0de4d6892f7834a5e67ef77f29f8commit hash: dbedc4f6e98b0de4d6892f7834a5e67ef77f29f8commit hash: dbedc4f6e98b0de4d6892f7834a5e67ef77f29f8commit hash: dbedc4f6e98b0de4d6892f7834a5e67ef77f29f8 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
deskutils/py-trash-cli: Update to 0.26.9.14

ChangeLog:

1. https://github.com/andreafrancia/trash-cli/releases/tag/0.26.9.14

Reported by:	Andrea Francia <notifications@github.com>
0.24.5.26
01 Nov 2025 17:23:22
commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
*: Revise USES=python:... version range constraints

and strip all lower bounds of 3.9 or 3.10 because they are implied now.

python:3.9-X  -> python:-X
python:3.9+   -> python
python:3.10-X -> python:-X
python:3.10+  -> python
(options such as ,build preserved)
0.24.5.26
06 Aug 2024 09:29:35
commit hash: 0d52169e71c1554cefd4a789d851f6ba8687fbe6commit hash: 0d52169e71c1554cefd4a789d851f6ba8687fbe6commit hash: 0d52169e71c1554cefd4a789d851f6ba8687fbe6commit hash: 0d52169e71c1554cefd4a789d851f6ba8687fbe6 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
deskutils/py-trash-cli: Add new port

trash-cli trashes files recording the original path, deletion date, and
permissions. It uses the same trashcan used by KDE, GNOME, and XFCE, but you
can invoke it from the command line (and scripts).

It provides these commands:

trash-put           trash files and directories.
trash-empty         empty the trashcan(s).
trash-list          list trashed files.
trash-restore       restore a trashed file.
trash-rm            remove individual files from the trashcan.

https://github.com/andreafrancia/trash-cli

Number of commits found: 3