I will explain why I need to be properly refreshed and why I want to download only .jpg
I made an app for android that uploads .jpg file for each user. Structure is Google Cloud Storage > username_folder > this folder contain uploaded .jpg file and .xml files.
Idea is to download .jpg files only (I don’t need .xml to be downloaded ), my computer process those .jpg, delete .jpg and create .xml in same folder where .jpg was, which will be uploaded to server back.
I have everything working for now, but I have to unsync and sync agan, so all files are updated.
It starts to be a problem since users created around 50 .jpg (which is now 50 .xml) which is deleted and not sync back, and instead of .jpg i create .xml and folders starts to be heavy.
That means if I sync every 5 minutes (needs to be like that) I need to download around 40MB of data, which is still all right, but since my app is growing this will start to be unmanageable and expensive.
I was reading cli, it look like that there might be option for that, but i can’t do it. Based on code that you provided, it seems that it will work to refresh photos that are already synced, not for new one.
Refresh and Sync is not working without firstly to do Unsync.
I discovered that if I enter to some folder, it somehow refresh content inside and it works.
So, i can’t believe that you guys are aware of this problem and there is no under the hood action in every 5 minutes system on your pc to enter every folder in storage so it is forced to refresh or to check which file type to sync somewhere in the options, this is my feedback. I am paying 100$ just to have folder which is updating itself every 24 hours. I can do that by myself.
I hope that this cli thing can help to make this to work.