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 Goal | Pattern |
|---|---|
| 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
3w3dis rejected by rclone. - Use a single equivalent value like
24dor576h. - Always validate windows with
--dry-run -vv.
Example
rclone copy /srv/log remote:archive/log --min-age 7d --max-age 30d --dry-run -vv