| Countdown to New Year 2025 | |
| Sunday Dec 29 8:04:57 2024 | |
| ------------------------------ | |
| The end of the year is just around the corner. As usual I am counting | |
| on *cron* and *pharc* to archive all my phlog posts of the year. | |
| And of course I expect *pharc* to work flawlessly. | |
| odin (chals) % pharc -h | |
| Usage: | |
| pharc -a, --archive <YEAR> ... <YEAR> (Specify year or years to archive) | |
| pharc -A, --all (Archives all unarchived years at once) | |
| pharc -d, --delete (Deletes pharc's log file interactively) | |
| pharc -h, --help (Prints help and exits) | |
| pharc -l, --list (Lists unarchived phlog posts, if any, a | |
| pharc -v, --version (Prints version and exits) | |
| pharc -y, --year (Prints year of archive and exits) | |
| * pharc's default working directory is HOME/gopher/phlog | |
| To change it: export PHARC_WORKDIR=/path/to/phlog | |
| * pharc creates a logfile by default in HOME/pharc.log | |
| To change it: export PHARC_LOGFILE=/path/to/pharc.log | |
| Fingers crossed ;) |