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

How to transform unicode filenames when running s3cmd under OS X #639

Open
hyperknot opened this issue Sep 29, 2015 · 2 comments
Open

How to transform unicode filenames when running s3cmd under OS X #639

hyperknot opened this issue Sep 29, 2015 · 2 comments

Comments

@hyperknot
Copy link

Is there any way to correctly upload unicode filenames to S3 using s3cmd from an OS X machine?

The problem is the following:

  1. OS X uses NFD filenames, Linux/BSD and Amazon uses NFC (for static file serving).
  2. When using rsync, I can specify the --iconv=UTF8-MAC,UTF-8 switch, which does the correct file-name conversion.
  3. However when using s3cmd, the file name conversion does not happen, thus non-ascii files cannot be accessed from the web (using their original URL), as their names are now in NFD form.

The only workaround I know for this issue is to upload the files to a Linux/BSD server and run s3cmd from there.

Is there any solution to this which does not involve using a Linux/BSD host?

@suin
Copy link

suin commented Oct 8, 2015

+1

@akx
Copy link

akx commented Mar 27, 2018

Differing Unicode normalization also affects the sync command when one side is a Mac and there are filenames like Solé Fixtape Vol. 24.mp3.

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

No branches or pull requests

4 participants