CMDCommand · run as root on the server · file family
urbestack-file-trash
First published 14 Oct 2026
0.2.0Unchanged since publicationUsage
# urbestack-file-trash --user NAME --path /a [--path /b ...]Description
From the command's --help outputMoves entries to the customer's Trash using the customer's permissions. Each entry goes to /.trash/DAY/WHERE/NAME in the home directory. DAY is the deletion date, WHERE is the original parent directory's path encoded as a single name with each / written as %2F, and NAME is the entry's name. The move stays within the home and is quick regardless of the entry's size. Trashed entries still count toward the account's disk usage. Use urbestack-file-restore to return an entry to its original directory. Nightly cleanup removes Trash entries whose deletion day is older than files.trash_days. The command refuses entries already in the Trash. Use urbestack-file-delete to delete them permanently.Usage: urbestack-file-trash --user NAME --path /a [--path /b ...] Moves entries to the customer's Trash using the customer's permissions. Each entry goes to /.trash/DAY/WHERE/NAME in the home directory. DAY is the deletion date, WHERE is the original parent directory's path encoded as a single name with each / written as %2F, and NAME is the entry's name. The move stays within the home and is quick regardless of the entry's size. Trashed entries still count toward the account's disk usage. Use urbestack-file-restore to return an entry to its original directory. Nightly cleanup removes Trash entries whose deletion day is older than files.trash_days. The command refuses entries already in the Trash. Use urbestack-file-delete to delete them permanently.
Options
Find other commands that accept these optionsSame in the API
This operation runs the command.Generated from release 0.2.35 (current) · urbestack-file-trash --help outputThis entry has been unchanged since it was first published in release 0.2.0 on 14 Oct 2026.
urbestack.com/docs/commands/urbestack-file-trash/