rebase
a pacman database synchronization tool
Package Information
| Latest version: | 4.0 |
|---|---|
| Source files: | rebase-4.0.tar.gz |
| Man page: | http://xyne.archlinux.ca/manpages/rebase |
| Binary package: | rebase-4.0-1-any.pkg.tar.gz [xyne-any] |
| Repos: | [xyne-any] |
| PKGBUILD etc: | http://xyne.archlinux.ca/pkgbuilds/rebase |
| TAURball: | rebase.tar.gz |
| AUR page: | http://aur.archlinux.org/packages.php?ID=23877 |
| Arch forum thread: | http://bbs.archlinux.org/viewtopic.php?id=65313 |
About
Read the man page.
Screenshots
Cron and Rebase
Here's a simple script that you can drop in /etc/cron.hourly to have your database automatically updated every hour.
#!/bin/bash /usr/bin/rebase --silent >/dev/null 2>$1
Redirecting to /dev/null should be unnecessary with the "--silent" option, but it doesn't hurt. If you'd like to log the output to /var/log/rebase.log, you could use this instead:
#!/bin/bash /usr/bin/rebase --silent --log /var/log/rebase.log >/dev/null 2>$1
The advantage of using this instead of "pacman -Sy" is that this will only overwrite files when necessary, instead of purging and dumping every file in the sync database.
Of course, you could set this to update at any interval you like and even combine it with cronwhip to guarantee that it gets run when it should.