Get your free beta license ↗
CMDCommand · run as root on the server · file family

urbestack-file-trash

First published 14 Oct 20260.2.0Unchanged since publication

Usage

# urbestack-file-trash --user NAME --path /a [--path /b ...]

Description

From the command's --help output
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 options

Same in the API

This operation runs the command.

More in file

16 commands, by what they work onView all commands in this family →
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/