Giter Club home page Giter Club logo

Comments (4)

gilesknap avatar gilesknap commented on June 11, 2024

Hi @felix-h-kong that does look like the folder name is illegal in your filesystem. I go to lots of trouble to try and make filenames and folder names that are legal in the code. I can't see what the problem is with that folder name, ext4 would normally allow this:

[hgv27681@pc0116 ~]$ cd /tmp
[hgv27681@pc0116 tmp]$ mkdir -p 'media/felix/extreme-ssd/google-photos-sync/felix/albums/2019/1219 3 years since...'
[hgv27681@pc0116 tmp]$ ls media/felix/extreme-ssd/google-photos-sync/felix/albums/2019/1219\ 3\ years\ since.../
[hgv27681@pc0116 tmp]$ 

Do you know what filesystem your extreme-ssd is formatted with? gphotos-sync tries to detect what is legal on the drive and change filenames to match but can sometimes get it wrong.

If your filesystem is NTFS that might explain it because I think ... might be illegal. You could try passing the command line argument --ntfs which will force use of stricter ntfs filenaming.

from gphotos-sync.

felix-h-kong avatar felix-h-kong commented on June 11, 2024

Oh, you are absolutely right - I forgot, it is NTFS, not ext4 as i'm usually using. I will try with --ntfs and report back.

from gphotos-sync.

felix-h-kong avatar felix-h-kong commented on June 11, 2024

Yep, gphotos-sync . --ntfs is exactly what I needed. Should've read the manual more carefully haha. Thanks!

from gphotos-sync.

gilesknap avatar gilesknap commented on June 11, 2024

Thanks for updating. You are not completely to blame as the code is supposed to detect NTFS, but I must have put that option in due to that check being imperfect.

from gphotos-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.