Sync two entropy cache

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Post Reply
speedyx
Growing Hen
Posts: 101
Joined: Sun Mar 28, 2010 6:05
Location: Italy
Contact:

Sync two entropy cache

Post by speedyx » Tue Nov 22, 2011 11:54

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?
The Freedom Technologies Are Available!
I love KDE rolling release distributions that just works!

Post Reply