Hacker News new | ask | show | jobs
by therealmarv 3429 days ago
I like this answer. For everyone who wants to do this by commandline: Search for sshfs and FUSE (also possible on Mac with osxfuse). Only be aware that a mac uses a different kind of utf-8 than unix. My command I use for sshfs on a mac:

  sshfs -o Ciphers=aes128-gcm@openssh.com -o Compression=no -o reconnect \
  -o modules=iconv,from_code=utf-8,to_code=utf-8-mac \
  myremote:/somedirectory/ /mylocalmountdir
1 comments

I'm not familiar with Macs. How is their UTF-8 different from the normal one? How is such a thing even possible?
I also thought the same, you would not recognize it most of the time (even while transferring). But I'm german and I use sometimes Umlauts in filenames/directories. They did not showed up in my Samba share so I got aware of this issue. I think this issue is too hidden.

If you want to read about this topic:

rsync: http://askubuntu.com/questions/533690/rsync-with-special-cha...

sshfs: https://github.com/osxfuse/sshfs/issues/14