You use the empty book bag on the bookshelf, it autopicks up all the books inside the shelf it can fit, letting you empty them in one fell swoop.
If there's at least one book inside the bag, it puts it inside the shelf instead.
[featurerequest] @Inorien