For metadata and having all the books on your device follow my instructions.
Copy the entire Calibre folder which contains your library to your phone in the directory advised by CS.
This folder has your books and your metadata (metadata.db file).
I can’t tell you more, it’s really that simple
Edit: for batch actions
Touch and hold the books until a check mark shows up.
Then
Then