Introduction
GDrive Ingest is an ultimate cloud uploader that combines powerful download capabilities with intelligent file organization and seamless Google Drive integration. It features an interactive CLI with arrow key navigation, live progress tracking, and smart music organization.Key Features
Interactive Folder Browser
Navigate Google Drive folders with arrow keys (↑/↓/→/←) in a beautiful terminal UI
Live Progress Tracking
Real-time download and upload progress bars with percentage indicators
Smart Music Organization
Automatic organization by Artist/Album/Year with auto-extracted cover art
Telegram Support
Download from public and private Telegram channels using Telethon API
Duplicate Detection
Prevent re-uploading files with MD5 checksum verification
Metadata Cleaning
Automatically remove website tags and spam from music metadata
How It Works
Extract & Analyze
ZIP files can be extracted. Music files get metadata extracted (artist, album, title, year).
Organize
Files are automatically categorized:
- Music →
Artist/Album (Year)/ - Images →
Images/ - Videos →
Videos/ - Documents →
Docs/ - Archives →
Folders/archive-name/
Quick Start Example
File Organization
Music Files
Music files are intelligently organized with metadata extraction:- Extracts artist, album, title, and year from ID3 tags
- Cleans metadata to remove website spam (HipHopKit.com, Audiomack.com, etc.)
- Auto-extracts embedded cover art
- Prompts before uploading to existing album folders
Other Files
Images
Images
.jpg, .png, .gif, .webp, .svg, .bmp → Images/Videos
Videos
.mp4, .mkv, .avi, .mov, .wmv, .flv → Videos/Documents
Documents
.pdf, .txt, .docx, .xlsx, .pptx → Docs/Archives
Archives
ZIP files can be extracted to
Folders/archive-name/Multi-URL Support
The script accepts URLs in multiple formats:- Command Line Arguments
- Comma Separated
- JSON File
Command-Line Options
| Option | Description | Example |
|---|---|---|
-h, --help | Show help message | ./gdrive_ingest.sh --help |
-d, --debug | Debug mode (dry-run) | ./gdrive_ingest.sh --debug url.mp3 |
-f, --folder <name> | Destination folder | ./gdrive_ingest.sh --folder "Music" url.mp3 |
-j, --json <file> | Load URLs from JSON | ./gdrive_ingest.sh --json urls.json |
Requirements
Core Dependencies (Required)
Optional Dependencies
For Telegram support:Without
ffmpeg/ffprobe, music files will still upload but won’t be organized by artist/album.What’s Next?
Setup Guide
Configure the script with your credentials
Google Drive API
Set up Google Drive API access
Telegram Integration
Enable Telegram downloads
Usage Examples
Real-world usage patterns