2

I have a directory in my Ubuntu computer with the following sub directories:

emacs.d/el-get/python-mode/
├── extensions
├── EXTENSIONS
├── INSTALL
├── INSTALL-INFO-FILES
├── ...
└── website

When I rsync to macOS, I get an error:

recv_files: "emacs.d/el-get/python-mode/EXTENSIONS" is a directory

Apparently, macOS creates extensions and then can not create EXTENSIONS. It seems macOS is case insensitive? Is there any way to solve this problem? Can I tell macOS to be case sensitive for the File System?

2
  • You can make the drive case sensitive but then some apps will not work
    – mmmmmm
    Commented Oct 12, 2016 at 11:14
  • @user3439894 IYes I have corrected the comment
    – mmmmmm
    Commented Oct 12, 2016 at 11:18

2 Answers 2

3

As Mark mentioned in his comment, "You can make the drive case sensitive but then some apps will not work" and Matteo showing you a list from Disk Utility, let me offer you an alternative to changing the format of the existing physical volume.

I use a sparse bundle (.sparsebundle) formatted as Mac OS Extended (Case-sensitive, Journaled) to maintain a case sensitive volume that's accessible on my Mac. It could also be a sparse or regular disk image file (.sparseimage/.dmg) vs. the sparse bundle, whichever suits your needs better.

In macOS Sierra's Disk Utility, click File > New Image > Blank Image... then in the settings sheet you can define the properties of the image file.

You can have it mount automatically when you login by adding it to your Login Items (System Preferences > User & Groups > $USER > Login Items).

Note that I use the sparse bundle because I find its easier to compact using hdiutil compact filename.sparsebundle to regain disk space as needed because it uses 8 MiB bands vs. a single file, which works better when the physical disk is getting to full.

1

In Sierra but also in previous system you can choose to format the drive as case sensitive or case insensitive. Default is case insensitive.

The issue is not specific to Sierra but on how the partition is formatted:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .