write the .metadata back, moving the generation, and give the hash of the item's new index
set whether the item is deleted
set when the item last changed
set the name shown on the device
set where the item lives: "" for the root, "trash", or a folder's id
set whether the item is starred
an item's
.metadatato edit, written back as another device would byput