command
module
Version:
v0.0.0-...-b8fd119
Opens a new window with list of versions in this module.
Published: Apr 16, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
rd
Remove empty directories.
Installation
go install github.com/ppreeper/rd@latest
Or build from source:
go build -o rd .
Usage
rd [flags] [paths...]
If no paths are given, rd scans the current directory.
Flags
-n, --dry-run: count directories that would be removed
-v, --verbose: print the final removed count
Examples
rd .
rd -n ./src ./testdata
rd -v /tmp/project
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.