with itunes you can ask for "Transfer purchases" while backing up your device. then when you restore to a new device it also restores the applications (the "purchases").
how this can be done with the libimobiledevice tools?
i don't think, you can transfer purchases with libimobile, transfering purchases involves authorizing your computer (running itunes) with iTunes store, which is beyond libimobile scope.
with itunes you can ask for "Transfer purchases" while backing up your device. then when you restore to a new device it also restores the applications (the "purchases").
how this can be done with the libimobiledevice tools?