Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rflatten"
version = "0.1.0"
version = "0.2.0"
edition = "2024"
description = "Flatten subdirectories by moving all files to the root directory"
license = "GPL-3.0"
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
`cargo install rflatten`

```
RFLATTEN(1) User Commands RFLATTEN(1)

Expand Down Expand Up @@ -30,6 +32,10 @@ OPTIONS
Skip confirmation prompt and proceed immediately with the
flatten operation.

-q, --quiet
Quiet mode - suppress all output except errors. Confirmation
prompt is automatically skipped (same behavior as --yes).

-i, --include <INCLUDE>
Include only directories that begin with any of these values.
Accepts comma-separated values. Uses case-insensitive prefix
Expand All @@ -50,6 +56,9 @@ EXAMPLES
Skip confirmation prompt:
rflatten -y /path/to/directory

Quiet mode (no output except errors):
rflatten -q /path/to/directory

Only flatten first level subdirectories:
rflatten --depth 1 /path/to/directory

Expand Down
Loading