I have played around with the Make Archive, Get File, and Save File commands without any luck. In some cases, I have read that Shortcuts cannot access the “On My iPhone” memory of other applications outside the “Shortcuts” subfolder and in other cases I have read that it is possible but no details are provided.
I play a video game called Stardew Valley on my iPhone and iPad. In On My iPhone\Stardew Valley\ is a subfolder that contains a handful of files. The name of the save game subfolder is fixed and never changes.
Here is what I currently do manually to sync my files.
After playing the game, I compress the On My iPhone\Stardew Valley\Savegame 123\ subfolder, rename it (I put the game date), and upload it to dropbox.
Before playing the game, I delete the local On My iPhone\Stardew Valley\Savegame 123\ subfolder, I download the zip file from the cloud, I unarchive it in On My Phone\Stardew Valley, and launch the game.
I can also drag and drop the Savegame 123 subfolder to and from the iCloud Drive in the Files App but I prefer the renaming route so that I don’t accidentally overwrite a more advanced save game zip on the cloud with an older save game file from one of my two devices. The filename convention I use is along the lines of 1A01.zip, 1A02.zip, 2C14.zip, 4D28.zip, etc. - always ascending.
That being said, I’m not picky. I have made ZERO progress in automating any part or segment of these steps. I’m posting here as I feel I’ve hit a wall and that perhaps I am facing an iOS limitation.
I would very much appreciate any wisdom you could share.