More than one person has asked me how far I got. Here's the Python script. I was able to add and remove files but didn't get all the bugs worked out. I gave up once I realized that the device can't handle files bigger than 2 GB. I really wanted to use it for backups.