Page 1 of 1

Sync two entropy cache

Posted: Tue Nov 22, 2011 11:54
by speedyx
I wrote a script to sync my entropy cache in my pc with another the entropy cache in a pc on my local home network.

Code: Select all

rsync --archive --verbose --compress --sparse --delete-before --hard-links --stats --progress --human-readable --partial /var/lib/entropy/client/packages/ [email protected]:/var/lib/entropy/client/packages
But this script copy all the versions of a package, even if that package was upgraded.
For exemple I will copy firefox-7 and firefox-8 in the same rsync command.
I carefully read the wiki without succes. There is an hidden command to clear the old packages from the local cache?