Skip to Main content

tuyen rm

Remove files or directories from the filesystem.

Remove files or directories from the filesystem.

Removal is permanent. Symbolic links are removed without following their targets. Filesystem roots and paths ending in '.' or '..' are protected even when forced.

Usage

tuyen rm [OPTIONS] [PATH]...

Arguments

[PATHS]

  • Files or directories to remove.

Options

-f, --force

  • Ignore missing paths and never prompt for confirmation.
  • Possible values: true, false.

-i

  • Prompt before removing each entry and descending into directories.
  • Possible values: true, false.

-I

  • Prompt once before recursive removal or removing more than three paths.
  • Possible values: true, false.

--interactive <INTERACTIVE_MODE>

  • Control when to prompt for confirmation before removal.
  • Possible values: never, once, always.

-r, --recursive

  • Remove directories and their contents recursively.
  • Alias: recurse.
  • Possible values: true, false.

-d, --dir

  • Remove empty directories without recursing into them.
  • Possible values: true, false.

-v, --verbose

  • Print each path as it is removed.
  • Possible values: true, false.

-h, --help

  • Print help.