Skip to content
This repository was archived by the owner on Nov 7, 2022. It is now read-only.
This repository was archived by the owner on Nov 7, 2022. It is now read-only.

skip files with bad file names #23

Description

@fbreitwieser

Hello, thank you very much for this great API and command, it is vital for me on my ARM notebook.

The app sync works well. However, I encountered an issue with 'bad' file names:

# dropbox-api sync dropbox:/ /media/removable/SD\ Card/Dropbox
mkpath /var/host/media/removable/SD Card/Dropbox/Library/
Can't write to /var/host/media/removable/SD Card/Dropbox/Library/0006-3568(2001)051[0341:lndats]2.0.co;2.pdf.dropbox-api.tmp: 
Invalid argument at /usr/bin/site_perl/dropbox-api line 588.

It fails as the name contains a semicolon. These files should be skipped, or maybe there is another way to still write them. (Locally I just added a return if ($local_path=~ /;/);, but that might not be the best way)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions