mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
26 lines
426 B
Markdown
26 lines
426 B
Markdown
# Rm
|
|
|
|
## Table of contents <!-- omit in toc -->
|
|
|
|
1. [TL;DR](#tldr)
|
|
1. [Sources](#sources)
|
|
|
|
## TL;DR
|
|
|
|
```sh
|
|
# Remove all files but the ones specified.
|
|
rm !('path/to/file')
|
|
rm !(*.xls|*.slsx|*.csv)
|
|
```
|
|
|
|
## Sources
|
|
|
|
- [18 selected super-useful Linux one-liners]
|
|
|
|
<!--
|
|
References
|
|
-->
|
|
|
|
<!-- Others -->
|
|
[18 selected super-useful linux one-liners]: https://medium.com/codex/18-selected-super-useful-linux-one-liners-398ba6d20f8c
|