ln

Enable native NTFS symbolic links for Cygwin

≡放荡痞女 提交于 2019-11-26 19:41:51
Recent NTFS and Windows implement symlinks: NTFS junction point can be used as directory symlink since NTFS 3.0 (Windows 2000) using linkd or junction tools. NTFS symbolic link can also be used as symlink (for both file and directory) since Windows Vista using mklink tool. But on Cygwin 1.7 (installed on Windows 7), ln -s creates a text file. on Cygwin: $ ln -s -v target mylink `mylink' -> `target' on MinGW (or your favorite editor): $ cat mylink !<symlink>ÿþt a r g e t Is it possible to tell Cygwing to use NTFS junction point or NTFS symbolic link ? other question: Is this available on MinGW?

Enable native NTFS symbolic links for Cygwin

跟風遠走 提交于 2019-11-26 08:58:58
问题 Recent NTFS and Windows implement symlinks: NTFS junction point can be used as directory symlink since NTFS 3.0 (Windows 2000) using linkd or junction tools. NTFS symbolic link can also be used as symlink (for both file and directory) since Windows Vista using mklink tool. But on Cygwin 1.7 (installed on Windows 7), ln -s creates a text file. on Cygwin: $ ln -s -v target mylink `mylink\' -> `target\' on MinGW (or your favorite editor): $ cat mylink !<symlink>ÿþt a r g e t Is it possible to

How to use MAMP&#39;s version of PHP instead of the default on OSX

左心房为你撑大大i 提交于 2019-11-26 06:56:40
问题 I would like to use MAMP\'s version of PHP instead of the default installed on my mac. I tried using ln -s /Applications/MAMP/bin/php5.3/bin/php php but I get a \"File exists\" error. What\'s the best way to work around this so I can just type php instead of the full path? 回答1: I would not recommend trying to modify the default version of PHP that is called on the command line. Doing so may break other parts of your system as well as provide you with problems in the future, should you decide