- Code: Select all
rsync --archive --verbose --compress --sparse --delete-before --hard-links --stats --progress --human-readable --partial /var/lib/entropy/client/packages/ root@192.168.0.2:/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?
