-
Notifications
You must be signed in to change notification settings - Fork 158
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
Escape special characters #475
Comments
Happy to accept PRs. There is supposed to be code to handle invalid characters in filenames, this includes a different regex for windows and linux. Maybe there is an issue with identifying which filesystem is in use? |
Hi ! Sorry for the late reply, I just had time to dig a little more. As you suggested, the filesystem is not detected as NTFS. At least for my specific issue, I can simply run it with |
I think I must have given up on this when I looked at it - bear in mind that the solution needs to work on windows and linux. My simple workaround was adding the |
gphotos-sync
is crashing with an OsError when trying to create an album folder with a<
in its name. Would it be possible to escape special characters in album (and photos?) names, so that the sync can be performed ?Alternatively, can we at least catch the error and skip this folder, rather than interrupting the sync altogether ?
Logs
I could write the PR if that's accepted
The text was updated successfully, but these errors were encountered: