From 89159d00dd4449d9e503495607f2c0a381902211 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 21 May 2023 20:33:48 +0200 Subject: move comments from links-update to README --- README.md | 10 ++++++++++ links-update | 12 ------------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 9c04c05..df919a6 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,16 @@ macOS is supported on a basic level. GNU coreutils and findutils are required, which you can install using Homebrew. Don't forget to add them to PATH! +Cygwin +------ + +These scripts rely on the availability of native symlinks. +On Windows/NTFS, they require Administrator privileges. + +Remember that in order to force `ln` to use native NTFS symlinks, your `CYGWIN` +environment variable **must** include either `winsymlinks:native` or +`winsymlinks:nativestrict`. + License ------- diff --git a/links-update b/links-update index 0d0630c..c95530d 100755 --- a/links-update +++ b/links-update @@ -5,18 +5,6 @@ # For details, see https://github.com/egor-tensin/config-links. # Distributed under the MIT License. -# This script relies on the availability of native symlinks. -# Those are indeed supported by NTFS, but require Administrator privileges for -# creation. -# It likely won't bother you as long as you don't use the functions defined in -# this file. -# In any case, you will see `ln` complaining about some access being denied in -# case something goes wrong. -# -# Remember that in order to force `ln` to use native NTFS symlinks, your -# `CYGWIN` Windows environment variable value **must** include either -# `winsymlinks:native` or `winsymlinks:nativestrict`! - # usage: ./links-update [-h|--help] [-d|--database PATH] [-s|--shared-dir DIR] [-m|--mode MODE] [-n|--dry-run] set -o errexit -o nounset -o pipefail -- cgit v1.2.3