mandarons / icloud-docker

Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.
BSD 3-Clause "New" or "Revised" License
1.15k stars 49 forks source link

[FEATURE] make unpacking of archive files types configurable #210

Open sepl2604 opened 5 months ago

sepl2604 commented 5 months ago

Use case Syncing iCloud drive files like *.pages or the config file for Alfred Alfred.alfredpreferences results in unpacking during sync, as the mime type of those files seems to be application/zip. Unpacking results in such cases "sometimes" in an error.

Describe the solution you'd like Have a new boolean config flag in the config.yaml to control wether archives should be automatically unpacked or not.

Verkhovskyi commented 4 months ago

Same with password-protected PDFs, Logic Pro files. Seems like it'll try to unpack any Apple software files

nicx commented 4 months ago

I second that. I have a lot of zip files, and I think this leads to inefficient sync times. I am asking myself what could be the reason for unpacking zip files? :)