scp ignores case in filenames?

Jan Stary hans at stare.cz
Fri Jan 19 10:23:05 UTC 2018


This is of course not MP related;
please kindly point me to the appropriate Apple forum.

Create a local file:

	user at local$ echo local > /tmp/file

Prepare a file on a remote machine,
with the "same" name, but uppercase:

	user at remote$ echo remote > /tmp/FILE

Now copy the remote file to local:

	user at local$ scp user at remote:/tmp/FILE /tmp/

	user at local$ cat /tmp/file
	remote

	user at local$ ls -li /tmp/FILE /tmp/file
	5155210 -rw-r--r--  1 hans  wheel  7 Jan 19 11:19 /tmp/FILE
	5155210 -rw-r--r--  1 hans  wheel  7 Jan 19 11:19 /tmp/file

This is MacOS 10.13.2. Is this expected?
I see it but I don't believe it.

Jan



More information about the macports-users mailing list