# reverseeverything/dropboxcleanuninstallmacos architecture

> Architecture diagram of the GitHub repository reverseeverything/dropboxcleanuninstallmacos, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/reverseeverything/dropboxcleanuninstallmacos
- Repository: https://github.com/reverseeverything/dropboxcleanuninstallmacos

## Overview

This is a single-script macOS Dropbox cleanup utility. The user runs it in dry-run mode first, then can enable deletion with `--apply`; cleanup is guarded by Dropbox process checks. The README documents the cleanup targets and optional behaviors, but no source excerpt was provided, so the graph reflects documented relationships rather than inspected implementation details.

Main entry points: [`uninstall-dropbox-complete.sh`](https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh) (Cleanup script)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_cleanup["Cleanup script"]
node_process_guard["Process handling"]
node_dry_run["Dry-run output"]
node_dropbox_state["Dropbox local state"]
node_synced_content["Synced content"]
node_app_bundle["App bundle"]
node_audit_leftovers["Audit leftovers"]
node_applescript["AppleScript"]

node_user -->|"runs"| node_cleanup
node_cleanup -->|"prints commands"| node_dry_run
node_cleanup -->|"checks processes"| node_process_guard
node_cleanup -->|"removes state"| node_dropbox_state
node_cleanup -.->|"optionally removes"| node_synced_content
node_cleanup -.->|"optionally removes"| node_app_bundle
node_cleanup -.->|"optionally removes"| node_audit_leftovers
node_cleanup -.->|"optionally uses"| node_applescript

click node_cleanup "https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh"
click node_process_guard "https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh"
click node_dry_run "https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh"
click node_dropbox_state "https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh"
click node_synced_content "https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh"
click node_app_bundle "https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh"
click node_audit_leftovers "https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneBlue
class node_cleanup,node_process_guard,node_dry_run,node_dropbox_state,node_synced_content,node_app_bundle,node_audit_leftovers toneTeal
class node_applescript toneIndigo
```

## Components

### Other components

- **User**
- [Cleanup script](https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh): `uninstall-dropbox-complete.sh`
- [Process handling](https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh): `uninstall-dropbox-complete.sh`
- [Dry-run output](https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh): `uninstall-dropbox-complete.sh`
- [Dropbox local state](https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh): `uninstall-dropbox-complete.sh`
- [Synced content](https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh): `uninstall-dropbox-complete.sh`
- [App bundle](https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh): `uninstall-dropbox-complete.sh`
- [Audit leftovers](https://github.com/reverseeverything/dropboxcleanuninstallmacos/blob/main/uninstall-dropbox-complete.sh): `uninstall-dropbox-complete.sh`
- **AppleScript**

## Connections

- User → Cleanup script: runs (evidence: `README.md`)
- Cleanup script → Dry-run output: prints commands (evidence: `README.md`)
- Cleanup script → Process handling: checks processes (evidence: `README.md`)
- Cleanup script → Dropbox local state: removes state (evidence: `README.md`)
- Cleanup script → Synced content: optionally removes (evidence: `README.md`)
- Cleanup script → App bundle: optionally removes (evidence: `README.md`)
- Cleanup script → Audit leftovers: optionally removes (evidence: `README.md`)
- Cleanup script → AppleScript: optionally uses (evidence: `README.md`)
