How ivanadrian31/organize works
organize is a Bash command-line utility that sorts regular files in a target directory into category subfolders without overwriting existing files. Its documented workflow validates the target, handles the optional device-information mode, filters and classifies top-level files, then previews or moves them and reports results. The legacy organize-dl command is documented as a warning wrapper. Source excerpts were unavailable, so relationships below rely on README statements; implementation details beyond those statements are not inferred.
Main entry points: organize organize CLI · organize-dl Legacy wrapper
Components 18
Command entry
- organize CLI
bin/organize - Legacy wrapper
bin/organize-dl
File processing
- Target validation
bin/organize - Safety checks
bin/organize - Top-level file scan
bin/organize - Filename parsing
bin/organize - Partial-download filter
bin/organize - Category mapping
bin/organize - Category selection
bin/organize - Name collision handling
bin/organize
Results and storage
- Preview plan
bin/organize - Category folders
- File moves
bin/organize - Run summary
bin/organize - Device information
bin/organize
Other components
- User
- findmnt
- df
Connections 18
- User → organize CLI: runs
README.md - Legacy wrapper → organize CLI: wraps command
README.md - organize CLI → Target validation: validates target
README.md - organize CLI → Device information: device mode
README.md - organize CLI → Safety checks: checks target
README.md - organize CLI → Top-level file scan: scans files
README.md - Top-level file scan → Filename parsing: parses names
README.md - Top-level file scan → Partial-download filter: skips partials
README.md - Partial-download filter → Category mapping: maps extension
README.md - Category mapping → Category selection: filters categories
README.md - Category selection → Preview plan: prints plan
README.md - organize CLI → Category folders: creates folders
README.md - organize CLI → Name collision handling: checks names
README.md - Name collision handling → File moves: selects free name
README.md - File moves → Category folders: moves files
README.md - organize CLI → Run summary: reports results
README.md - Device information → findmnt: reads mount data
README.md - Device information → df: reads free space
README.md