https://github.com/happer64bit/srm
Cli Written In Rust for Faster Files/Folders delection
https://github.com/happer64bit/srm
command-line rust
Last synced: about 1 year ago
JSON representation
Cli Written In Rust for Faster Files/Folders delection
- Host: GitHub
- URL: https://github.com/happer64bit/srm
- Owner: happer64bit
- License: mit
- Created: 2024-11-04T12:23:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-04T12:25:34.000Z (over 1 year ago)
- Last Synced: 2025-02-02T14:38:14.957Z (over 1 year ago)
- Topics: command-line, rust
- Language: Rust
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SRM (Selection Remove)
`SRM` tool allows you to list, select, and delete files and folders in the current directory, with optional filtering using regular expressions.
## Usage
Run the tool with the following syntax:
```sh
cargo run [] [OPTIONS]
```
## Examples
List all files and folders (without any filtering):
```sh
cargo run
```
Filter files with a regex pattern:
```sh
cargo run ".*\\.rs"
```
Delete files with regex filter and skip errors:
```sh
cargo run "*.toml" -s
```
### Options
* `--help`: Displays usage information.
* `--version`: Shows the version of the tool.
* `-s`: Skips errors that occur during file deletion.