Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
py-trash-cli Command line interface to the freedesktop.org trashcan
0.26.9.29 deskutils Σ=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.26.9.14Version 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-11-10 09:30:10
Commit Hash: 5a9f6ad
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 = 1794301396 SHA256 (trash_cli-0.26.9.29.tar.gz) = 2ca3300fd9f3b0334cb3f576a3ec95ced8593cc729df4332608d69a28eb50fb0 SIZE (trash_cli-0.26.9.29.tar.gz) = 66968

Packages (timestamps in pop-ups are UTC): #
py311-trash-cli
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---0.24.5.26-
FreeBSD:14:quarterly---0.24.5.26-
FreeBSD:15:latest--n/a0.24.5.26n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 

py312-trash-cli
ABIaarch64amd64armv6armv7i386
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/a
FreeBSD:15:quarterly0.26.9.140.26.9.14n/a-n/a
FreeBSD:16:latest0.26.9.140.26.9.14n/a-n/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
pkg-message: #
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: 4 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.26.9.29
10 Nov 2026 09:30:10
commit hash: 5a9f6ad39a21773094d374e1115e1e483a5ecf63commit hash: 5a9f6ad39a21773094d374e1115e1e483a5ecf63commit hash: 5a9f6ad39a21773094d374e1115e1e483a5ecf63commit hash: 5a9f6ad39a21773094d374e1115e1e483a5ecf63 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
deskutils/py-trash-cli: Update to 0.26.9.29

ChangeLog:

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

Reported by:	Andrea Francia (via private email)
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: 4