Bulk Download of Person/Org Attachments#41
Open
sshadminBW wants to merge 1 commit intobitwarden-labs:mainfrom
Open
Bulk Download of Person/Org Attachments#41sshadminBW wants to merge 1 commit intobitwarden-labs:mainfrom
sshadminBW wants to merge 1 commit intobitwarden-labs:mainfrom
Conversation
feat: Add Bitwarden vault attachment bulk downloader Add comprehensive bash script for downloading all attachments from Bitwarden vaults with support for both personal and organization vaults. Features: - Support for personal vault and organization vault downloads - Interactive mode with vault type selection menu - Command-line argument support for automation - Automatic filename prefixing with item names to prevent duplicates - Filename sanitization for filesystem compatibility - Color-coded terminal output with progress indicators - File size display during downloads - Detailed download summary with success/failure counts - Multi-region support (US Cloud, EU Cloud, Self-hosted) - Session token validation and automatic unlock prompts - Organization listing and auto-selection for single-org accounts Prerequisites: - Bitwarden CLI (bw) - jq for JSON processing - bc for file size calculations (optional) Usage examples: - Personal vault: ./download_bw_attachments.sh --type personal - Organization vault: ./download_bw_attachments.sh --type org --org-id <ID> - Interactive mode: ./download_bw_attachments.sh - List orgs: ./download_bw_attachments.sh --list-orgs Technical improvements: - Uses process substitution instead of pipes to maintain counter state - Filters personal items with jq select filter for reliable results - Comprehensive error handling and user feedback - Extensive inline documentation and usage examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: Add Bitwarden vault attachment bulk downloader
Add comprehensive bash script for downloading all attachments from Bitwarden vaults with support for both personal and organization vaults.
Features:
Prerequisites:
Usage examples:
Technical improvements: