Remove

Remove a file or directory from a teamspace drive.

PATH: Drive path to remove, in the format lit://<owner>/<teamspace>/<path>, or lit:///<path> for the current teamspace.

Usage:

lightning rm [OPTIONS] PATH

Arguments

Name

Type

Required

Description

PATH

text

yes

No description provided.

Options

Option

Type

Required

Default

Description

-r, --recursive

—

no

Sentinel.UNSET

Remove directories recursively

-f, --force

—

no

Sentinel.UNSET

Ignore nonexistent files, never prompt

Examples

  lightning rm lit://<owner>/<my-teamspace>/uploads/file.txt
  lightning rm lit:///uploads/file.txt
  lightning rm -r lit://<owner>/<my-teamspace>/artifacts/reports/

Was this page helpful?

What went wrong?

↑↓ Navigate↵ Open⌘↵ New tabesc Close