Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case insensitive in container #663

Open
Kosztyk opened this issue Oct 10, 2024 · 4 comments
Open

Case insensitive in container #663

Kosztyk opened this issue Oct 10, 2024 · 4 comments
Assignees

Comments

@Kosztyk
Copy link

Kosztyk commented Oct 10, 2024

Hi,

I am planing to migrate my icloudpd from TrueNas Scale Kubernetes to docker under debian but i noticed that the docker version of icloudpd is downloading the files with the extension in capital and the kubernetes with low leters.
ex: filename.jpeg in kuberneted - filename.JPEG in docker.

Icloudpd version in kubernetes - 1.0.826 in docker the last version

There is any way to force file case insensitive because i will have all my files downloaded again?

@Kosztyk
Copy link
Author

Kosztyk commented Oct 11, 2024

I locked closer on what is happening and seems like only the photos received via facebook messenger, whatapp are affected by this missmatch of extention
Screenshot 2024-10-11 at 13 37 37

@boredazfcuk
Copy link
Owner

Hi,
I've had this in my own container. I just removed all the duplicates with a Windows utility called AllDup. I believe that it was introduced by an upgrade to an upstream utility which interacts with icloud.com

There's no way to change the case inside the container. It checks to see if the file in the cloud lives locally, if not, it downloads it. That functionality is provided by an upstream utility so not much I can do about it

@Kosztyk
Copy link
Author

Kosztyk commented Oct 11, 2024

Thank you for your answer, as my system is unix is a bit harder to use a windows utility but i used:

find . -name ".jpg" -type f # to find all file ending with .jpg from all folders and subfolders
then
find . -name "
.jpg" -type f -delete to delete them

@boredazfcuk
Copy link
Owner

That will remove all the JPG files, but they may not all be duplicates. If they've since been deleted from your photo stream, they could be gone for good.

My server's Debian. I run Windows in a KVM VM without issues. AllDup takes a lot of time out of manual checking if you have thousands of photos in hundred of folders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants