I would like to do a partial backup from a server with rsync.
my exclude file looks like this
bin/
boot/
dev/
initrd.img
initrd.img.old
lib/
my problem is now, that every lib, bin and so on folder will be skipped in every folder but i just want to skip the /lib, /boot ... folder on the root file system
how to handle this ?