Skip to main content

Overview

copyparty provides powerful search capabilities: find files by name/path, size, date, content hash, or metadata tags like artist and title.

File Search by Content

Find duplicate files by dropping them into the browser.

How It Works

  1. Drag files into the Search dropzone (or toggle [🔎] on mobile)
  2. Files are hashed client-side
  3. Hash sent to server
  4. Server checks database for matching content
  5. Results show where identical files exist
Requires -e2dsa to index file hashes. Files that match go into [ok], unknown files into [ng].
Search by file identifier (wark/checksum) directly:
Enter this in the [🔎] Search tab → raw field. Search by file attributes and media tags.

Enable Indexing

Search Interface

Click [🔎] in the top navigation to open the search tab.

Search Fields

Path
  • Space-separated AND search
  • - prefix to negate (exclude)
  • Example: music shibayan -bossa
    • ✅ Matches: /music/shibayan/album/song.mp3
    • ❌ Rejects: /music/shibayan/bossa-nova/track.flac
Name
  • Search filename only (not full path)
  • Example: demetori styx
Size
  • Range: 10m-100m (10-100 MiB)
  • Min: >5g or 5g-
  • Max: <1k or -1k
  • Suffixes: b, k, m, g
Date
  • Range: 2023-01-01-2023-12-31
  • After: >2023-06-01 or 2023-06-01-
  • Before: <2023-01-01 or -2023-01-01

Tag Search Examples

Find Specific Artist

Find Songs in BPM Range

Find Long Songs

(Duration 600+ seconds = 10+ minutes)

Complex Tag Query

Finds:
  • Artist contains “sound” but not “souledge”
  • Genre is trance
  • BPM between 138-142

Raw SQL: Exclude Collabs

Search Configuration

Control What’s Searchable

Hidden files (.filename) require special permission:
Without dotsrch, dotfiles are excluded from search even if user has . permission. Search behavior can differ per volume:

Search Performance

Indexing Options

  • e2dsa: Index all files (writable + readonly)
  • e2ts: Scan tags in all files without tags
  • Best search performance
  • Slow initial startup

Exclude from Indexing

Database Location

Searches query the up2k.db SQLite database.
Placing the database on an SSD dramatically improves search performance, especially for large libraries.

API Access

Search via HTTP API

Raw SQL via API

Search Results

Results display:
  • File path (click to navigate)
  • File size
  • Last modified date
  • Metadata tags (if indexed)
  • Upload time (if -e2d and -mte +.up_at)

Show Upload Time

Or per-volume:

Advanced: Periodic Rescans

Keep index current if other software modifies files:
Rescans disable uploads temporarily. Delayed by --db-act (default 10s) during active uploads.

Filesystem Guards

Prevent indexing across filesystems:
  • xdev: Skip bind-mounts and separate filesystems
  • xvol: Skip symlinks outside volume top directory
Search examples: