You are not logged in.
Hi all,
I have a server and a laptop both running arch. To save downloading multiple copies of shared packages, I found this use of rsync to be handy:
rsync -auvvz `pacman -Q | perl -pe 's/(.*) .*/--include=$1-\*/'` --exclude=* -e ssh root@SERVERNAME:/var/cache/pacman/pkg/ /var/cache/pacman/pkg/
This will grab any packages that the laptop shares with the server. Saves a bit of bandwidth, and avoids setting up nfs shares etc.
Offline