Skip to main content

Rclone Time Window Patterns

Time-window patterns combine age filters into operational schedules such as recent-sync, mid-term retention, and cold archive movement. This guide translates time intent into reliable rclone expressions so automation reflects real business recovery windows.

Common Time Windows

Window GoalPattern
Last 24 hours--max-age 24h
Last 7 days--max-age 7d
Older than 30 days--min-age 30d
Between 7 and 30 days--min-age 7d --max-age 30d

Notes

  • Mixed token format like 3w3d is rejected by rclone.
  • Use a single equivalent value like 24d or 576h.
  • Always validate windows with --dry-run -vv.

Example

rclone copy /srv/log remote:archive/log --min-age 7d --max-age 30d --dry-run -vv