archive
Archives files organized by type and date
Usage
archive dst
Notes
- Check
Makefilefor installation - Check
SCRIPT_PATH=archive pathfor paths - Android device usually required
ARCHIVE_TIMEset tono
Options
Environment variables can be defined to modify behaviour
scriptlibrary: See documentation for optionsARCHIVE_DRY: Simulate a archive without actually writingARCHIVE_KEEP: Keep archived files, instead of removing themARCHIVE_TIME: Skip files newer thanTIMEdaysARCHIVE_STAT: Whichstatspecifier to use when sortingARCHIVE_TYPES: Which MIME base type files to includeARCHIVE_RSH: Alternative remote shell program with argumentsARCHIVE_HOST: Hostname of the remote archive destinationARCHIVE_ATIME: Modify access time when processing filesARCHIVE_ARGS: Additional arguments forrsync
Configuration
/src/path/one per line- Lines beginning with
#or empty are ignored
Per-directory
.archive-filterwithrsyncfilter directives
Dependencies
Executables must be available in PATH
scriptlibraryfilersyncrsync-escape