
FileBot
Automated media library organization and renaming
FileBot - Automated Media Management
FileBot is the ultimate tool for organizing and renaming your Movies, TV Shows, and Anime libraries. It automatically fetches metadata, downloads subtitles, organizes your files into a clean directory structure, and integrates seamlessly with popular download clients for post-processing automation.
What is FileBot?
FileBot is a sophisticated media library manager that:
- Automatic Renaming - Intelligently renames files based on metadata
- Library Organization - Structures media into organized directories
- Subtitle Downloads - Fetches subtitles in multiple languages
- Metadata Fetching - Retrieves artwork, descriptions, and episode information
- Post-Processing - Integrates with torrent/usenet clients for automation
- Format Customization - Define custom naming schemes and organization patterns
License Required
FileBot requires a license for full functionality. During installation, you can activate your license or upload it via the QuickBox dashboard. Get your license at filebot.net .
Installation
Basic Installation
Install FileBot for a specific user:
qb install filebot -u usernameThis will:
- Install FileBot with Java 17 runtime
- Create the default media directory structure (
/home/username/Media) - Prompt for license activation (or skip with
-o webflag)
Custom Media Path
Specify a custom media directory during installation:
qb install filebot -u username -mp '/mnt/storage/media'Rclone Integration
If you have rclone installed, FileBot will automatically use /home/username/rclone/cache as the default media path for cloud-based media libraries.
Installation with Download Client Integration
FileBot can automatically configure post-processing for your download clients:
Install with Deluge integration:
qb install filebot -u username -o 'deluge'Install with multiple integrations:
qb install filebot -u username -o 'deluge' -o 'nzbget'Supported integrations:
-o 'deluge'- Deluge torrent client-o 'nzbget'- NZBGet usenet client-o 'rtorrent'- rTorrent/ruTorrent client-o 'sabnzbd'- SABnzbd usenet client
Download Client Required
The download client must be installed before installing FileBot with integration. Install FileBot with the -o flag matching your installed client(s).
CLI Commands
Basic Operations
| Command | Description |
|---|---|
qb install filebot -u username | Install FileBot with default settings |
qb install filebot -u username -mp '/path/to/media' | Install with custom media path |
qb install filebot -u username -o 'deluge' | Install with Deluge integration |
qb reinstall filebot -u username | Reinstall FileBot (preserves config) |
qb remove filebot -u username | Remove FileBot completely |
Usage Examples
Basic installation:
qb install filebot -u myuserInstall with custom media path:
qb install filebot -u myuser -mp '/mnt/nas/media'Install with Deluge post-processing:
qb install filebot -u myuser -o 'deluge'Install with multiple download clients:
qb install filebot -u myuser -o 'rtorrent' -o 'sabnzbd'Reinstall (preserves license and config):
qb reinstall filebot -u myuserRemove FileBot:
qb remove filebot -u myuserSupported Integrations
QuickBox Pro automatically configures FileBot with your installed download clients:
Enhanced Features
FileBot on QuickBox Pro includes several advanced configurations:
🔄 Auto Post-Processing
Automatic integration with Deluge, rTorrent, NZBGet, and SABnzbd for hands-free organization
📁 Smart Organization
Pre-configured naming schemes for Movies, TV Shows, Anime, and Music with quality and codec tags
🔗 Hardlink Support
Uses hardlinks by default to save disk space while keeping original downloads seeding
🎨 Metadata & Artwork
Automatic fetching of posters, thumbnails, and metadata for media server integration
🌍 Multi-Language Support
Built-in subtitle downloads and language detection for international media libraries
☁️ Rclone Integration
Automatic detection and configuration for cloud-based media storage
Configuration
Default Media Directory Structure
FileBot creates the following directory structure:
Naming Format
QuickBox Pro includes pre-configured naming formats:
Movies:
Movies/{Movie Name} ({Year})/{Movie Name} ({Year}) {lang} {vf} {VC}TV Shows:
TV/{Show Name}/Season {Season Number}/{S00E00} - {Episode Title} {vf} {VC}Anime:
Anime/{Show Name}/Season {Season Number}/{S00E00} - {Episode Title} {vf} {VC}Music:
Music/{Artist Name}/{Album}/{Track Number}. {Artist} - {Title}Custom Formatting
Edit /home/username/.config/Filebot/formatting to customize the naming scheme. Variables include {n} (name), {y} (year), {vf} (video format), {VC} (video codec), and more.
License Activation
During Installation
When installing without the -o web flag, you’ll be prompted:
Would you like to activate your license? [y/n]:
> y
Please copy/paste the full contents of your license file.
Press ctrl+D when done to continue.
> [paste license content]Via Dashboard
- Navigate to QuickBox Dashboard → Applications
- Select FileBot from installed applications
- Upload your license file (
filebot_license.psm)
Manual Activation
# Copy license to config directory
cp filebot_license.psm /home/username/.config/Filebot/
# Activate license
/usr/local/bin/username/filebot --license /home/username/.config/Filebot/filebot_license.psmDownload Client Integration
Deluge Integration
When installed with -o 'deluge', FileBot configures:
Location: /home/username/.config/Filebot/deluge-postprocess.sh
Deluge Setup:
- Open Deluge Web UI
- Navigate to Preferences → Execute Plugin (enable in Plugins if needed)
- Add execution:
- Event: Torrent Complete
- Command:
/home/username/.config/Filebot/deluge-postprocess.sh
rTorrent Integration
When installed with -o 'rtorrent', FileBot automatically adds to .rtorrent.rc:
method.set_key = event.download.finished,filebot,"execute.throw.bg={/home/username/.config/Filebot/rtorrent-postprocess.sh,$d.base_path=,$d.name=,$d.custom1=}"No additional configuration needed - it’s automatic!
NZBGet Integration
When installed with -o 'nzbget', FileBot configures:
Location: /home/username/.config/NZBGet/scripts/nzbget-postprocess.sh
NZBGet Setup:
- Open NZBGet Web UI
- Navigate to Settings → Extension Scripts
- Select
nzbget-postprocess.shfor post-processing categories
SABnzbd Integration
When installed with -o 'sabnzbd', FileBot configures:
Location: /home/username/.config/SABnzbd/scripts/sabnzbd-postprocess.sh
SABnzbd Setup: QuickBox automatically configures:
- Script directory points to SABnzbd scripts folder
- Post-processing script enabled for Movies, TV, and Anime categories
Service Restart
Download client services are automatically restarted after FileBot integration to apply changes.
Using FileBot
Command Line Usage
FileBot is accessible via the command line:
# Run as your user
/usr/local/bin/username/filebot [options]Manual File Processing
Process a single file or directory:
/usr/local/bin/username/filebot -script fn:amc \
--output /home/username/Media \
--action hardlink \
--conflict skip \
/path/to/downloadsOptions explained:
--output- Destination media directory--action- How to handle files (hardlink,move,copy)--conflict- How to handle duplicates (skip,override)
AMC Script (Automated Media Center)
The AMC script is FileBot’s powerful automation tool:
filebot -script fn:amc \
--output "/home/username/Media" \
--action hardlink \
--conflict skip \
-non-strict \
--log-file amc.log \
--def unsorted=y music=y artwork=n \
excludeList="/home/username/.config/Filebot/.excludes" \
ut_dir="/path/to/completed" \
ut_kind="multi"Exclude List
Add file paths to /home/username/.config/Filebot/.excludes to prevent FileBot from processing them again.
Troubleshooting
License Issues
License not activating:
# Check license file exists
ls -la /home/username/.config/Filebot/*.psm
# Re-activate license
/usr/local/bin/username/filebot --license /home/username/.config/Filebot/filebot_license.psmPermission Issues
FileBot can’t write to media directory:
# Fix ownership
sudo chown -R username:username /home/username/Media
# Fix permissions
sudo chmod -R 755 /home/username/MediaPost-Processing Not Running
Check post-processing script:
# Test script manually
bash -x /home/username/.config/Filebot/deluge-postprocess.sh \
"torrent_id" "torrent_name" "/path/to/download"
# Check script permissions
ls -la /home/username/.config/Filebot/*-postprocess.sh
# Should be executable (chmod +x)Check download client logs:
# Deluge
journalctl -u deluged@username -f
# rTorrent
tail -f /home/username/.sessions/rtorrent.log
# NZBGet
tail -f /home/username/.config/NZBGet/nzbget.logJava Version Issues
FileBot requires Java 17:
# Check Java version
java -version
# Should show: openjdk version "17.x.x"
# Set Java 17 if multiple versions installed
sudo update-alternatives --config javaAdvanced Configuration
Custom Naming Schemes
Edit /home/username/.config/Filebot/formatting:
# Movies with resolution and codec
movieFormat=Movies/"{n} ({y})/{n} ({y}) [{vf} {vc} {ac}]"
# TV shows with episode title
seriesFormat=TV/"{n}/Season {s.pad(2)}/{n} - {s00e00} - {t}"
# Anime with fansub group
animeFormat=Anime/"{n}/{n} - {s00e00} - {t} [{group}]"Exclude Patterns
Add patterns to /home/username/.config/Filebot/.excludes:
# Exclude samples
*sample*
*SAMPLE*
# Exclude specific files
*.nfo
*.sfv
# Exclude paths
/path/to/exclude/*Media Path Configuration
The media path is set during installation with -mp flag. To change:
- Update post-processing scripts with new path
- Ensure the new directory exists and is owned by your user
- Update any hardcoded paths in custom scripts
Best Practices
Do
- Use hardlinks (--action hardlink) to save disk space while keeping torrents seeding
- Test first with --action test to preview changes before processing
- Install download clients before FileBot for automatic integration
- Keep backups - QuickBox auto-backs up to /srv/quickbox/backups/username/filebot/
- Use the default naming schemes for Plex/Jellyfin/Emby compatibility
Don't
- Don't use --action move if you need to keep seeding torrents
- Don't skip license activation - full functionality requires it
- Don't modify post-processing scripts without testing first
- Don't forget to add processed files to the exclude list
- Don't run FileBot as root - always use your user account
Resources
Join the Community
Media server operators sharing configs, getting support, and shaping the future of QuickBox Pro.