← 返回命令列表

Linux command

trash-rm 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

trash-rm foo

Example

trash-rm '*.o'

Example

trash-rm /absolute/path/to/file

说明

trash-rm removes from the trash can all files matching the given pattern. It permanently deletes matching trashed files according to the freedesktop.org Trash specification. The pattern is matched against the original file name or path.

FAQ

What is the trash-rm command used for?

trash-rm removes from the trash can all files matching the given pattern. It permanently deletes matching trashed files according to the freedesktop.org Trash specification. The pattern is matched against the original file name or path.

How do I run a basic trash-rm example?

Run `trash-rm foo` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more trash-rm examples?

This page includes 3 examples for trash-rm, plus related commands for nearby Linux tasks.