Skip to content
New issue

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

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

Already on GitHub? # to your account

Problems with Albums that have a "/" in the name #12

Open
rgusick opened this issue Dec 15, 2018 · 1 comment
Open

Problems with Albums that have a "/" in the name #12

rgusick opened this issue Dec 15, 2018 · 1 comment

Comments

@rgusick
Copy link

rgusick commented Dec 15, 2018

I have the following Folder containing Albums on my SmugMug account:

$ smugcli.py ls '2009/04'
Will's Basketball Project
Washington D.C.
5/6 Lax vs Scarsdale
Freshman Lacrosse vs Mahopac
Freshman Lacrosse vs Suffern
Doug warming up

When I try to list the contents of the "5/6 Lax vs Scarsdale" album, I don't see a way to escape the slash:

$ smugcli.py ls '2009/04/5/6 Lax vs Scarsdale'
"5" not found in "/2009/04".
$ smugcli.py ls '2009/04/5\/6 Lax vs Scarsdale'
"5\" not found in "/2009/04".
$ smugcli.py ls "2009/04/5\/6 Lax vs Scarsdale"
"5\" not found in "/2009/04".
$ smugcli.py ls "2009/04/5\\/6 Lax vs Scarsdale"
"5\" not found in "/2009/04".

Any suggestions outside renaming my albums (which is most likely what I am going to end up doing).

@graveljp
Copy link
Owner

graveljp commented Dec 7, 2020

Sorry for the late reply.

If you are on Windows, you can use '/' in file or folder names without problems. If you are on Linux or MacOS, you can use '' in names. Doing the opposite however is simply not supported by operating systems. You cannot have filenames containing '' on Windows or containing '/' on Linux or MacOS.

Given these limitations, what are you hoping to achieve? Even with some escaping mechanism in SmugCLI, it would still be impossible for you to upload or sync files containing '/' on Linux or MacOS.

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

No branches or pull requests

2 participants