2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: rm
|
|
|
|
layout: command
|
|
|
|
version: 0.59.0
|
|
|
|
---
|
2021-05-30 02:57:04 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
Remove file(s).
|
2021-05-30 02:57:04 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
## Signature
|
2021-05-30 02:57:04 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
```> rm ...rest --trash --permanent --recursive --force --quiet```
|
2021-05-30 02:57:04 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
## Parameters
|
2021-05-30 02:57:04 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
- `...rest`: the file path(s) to remove
|
|
|
|
- `--trash`: use the platform's recycle bin instead of permanently deleting
|
|
|
|
- `--permanent`: don't use recycle bin, delete permanently
|
|
|
|
- `--recursive`: delete subdirectories recursively
|
|
|
|
- `--force`: suppress error when no file
|
|
|
|
- `--quiet`: supress output showing files deleted
|
2021-05-30 02:57:04 +02:00
|
|
|
|