Skip to main content

Files-From and Advanced Selection

Files-from workflows provide deterministic, auditable transfer scope by using explicit path manifests instead of broad wildcard matching. This section helps you combine manifests with additional filters so compliance exports, legal holds, and controlled publish pipelines remain reproducible.

Explicit List Workflow

/tmp/selected-files.txt
logs/2026-01-01/app.log
exports/customers-2026-01.csv
reports/kpi-q1.pdf
rclone copy /srv/data remote-prod:exports --files-from /tmp/selected-files.txt

Combine with Filters

rclone copy /srv/data remote-prod:exports \
--files-from /tmp/selected-files.txt \
--exclude "**/*.tmp" \
--dry-run

When This Pattern Helps

SituationBenefit
Audit exportDeterministic transfer scope
Legal hold packageRepeatable and reviewable list
Release artifact copyOnly approved files move
tip

Generate --files-from lists in CI and archive them with logs so every transfer is traceable.

Common Pitfalls

PitfallConsequenceFix
Paths in list do not match source rootNothing transfersBuild list relative to source path
Stale list reused accidentallyMissing new filesInclude timestamp/version in list name
No dry-run on list updatesSurprises in productionPreview every new manifest

What's Next