X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F0B0385C422 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1700186449; bh=SURgFROyk2HK+59HUNiklPvkmArF6iKtr/Mw02cbdow=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=KFUFuAB4oGiDw9TTWmGtpyxPdduB4W+SHt0FLEfrRoBdjy8S+QnRquAAU2YKT7pZM BM/AGAJCnagbj6GPWhc3XyPFTZb6Q/5/UcnbNmBr5oxJLr++HahS/nAZDLUSvg7s5l KofZrKpjwEjOigy7O7IAqEy8EnWNb6d2ArACtu7Q= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9C9453858D37 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9C9453858D37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700186433; cv=none; b=nJpf5HXuXOjD2frzYwegWKLHua6AnqjBF/uRUiUj7/kMGleb98d16fx1v28o3dBiwJSNeMiTj8yAK/GjMOijvci+aDJzZSGhxMXCJ2uIrNnMRUWoDdTjDIDPZM+mWhnJtkN1hiZJVIe4PGDzy39YcZEQ83kW4P8Wmud/JswI5qk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700186433; c=relaxed/simple; bh=II6ewGQ2rPsP6c5EqVLHlT5/+cglidW00P2kB5sEq/8=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=OxJHRwPJAMeybWSDGzLUkGHRrMhu7GkFtQ6YcCob0muvWNFapKmgEDuZI+6i0zn02e3kauqe72xbqPIBku8plBwFohr4GKrzRaUKQQesbMtMOBXd/Pczvxzf9v+pJlSvhcDN7xzqfgdTx/ka8/6sTOxUlk/oR8IBlRNrmmXyh+c= ARC-Authentication-Results: i=1; server2.sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700186430; x=1700791230; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ub0PMMfONNFvIKAV4vw3MQV857vQCnjG3nuvzWpu8zg=; b=P8MFl4cKxl7WX9WKxfbMkejVsrnha3eQpwpcg4/XJREPv4Un82cV03K5HGtTG4Mpmu D/3wv5HM0E33xAQfcizLSU35NJd7aM5KvUf6zdVUL2yCzRfWGhvkLX/g6XEe1ooihGPP d3t9RkMgx6dTl6/LmhUOtlTiH2hUzZ2oH9Ah6BJsKm5BzFZ4Fvjitr52i4uPMHokQl72 +dUTJyH7QyByAvb8DpC8DQY2MG2EOyX7vAd4xS3185DjcPwkXSDagKCPtMDuWrGU3cdC wiZvvG6fNg7nTlpSpIYgjCw/tkior4ZbbmbUHKccufMJhxLA/0H6/as2+cnWRa9+LgTp 29nA== X-Gm-Message-State: AOJu0YyMhI0LOcMaxS/PTXzoKspYnToDyqS3hD1z/eLSs38K32EeNifd fhWtUN6UCxa6w4KMlfJQq1r5CVhzGHCKyfNmZkY6gp9ZCTY= X-Google-Smtp-Source: AGHT+IEcSlWkQrlxILrfJucdYS3Wgk1hSdqahIZnRKkGFiXTCAVW6Jq0cOnWcl43MDS4e7uvYrclEHWEfG/Iu5ES0ns= X-Received: by 2002:a05:6402:605:b0:530:ec02:babd with SMTP id n5-20020a056402060500b00530ec02babdmr3094137edv.9.1700186429587; Thu, 16 Nov 2023 18:00:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 16 Nov 2023 18:59:41 -0700 Message-ID: Subject: Re: Cygwin tool to differ junctions from soft links? To: cygwin AT cygwin DOT com X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, HK_RANDOM_ENVFROM, HK_RANDOM_FROM, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Doug Henderson via Cygwin Reply-To: Doug Henderson Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3AH20o7p031492 > On Wed, Nov 1, 2023 at 10:14 AM Martin Wege wrote: > > > > Good morning! > > > > Does Cygwin have a command line tool (Scriptable!) which can be used > > to differ between soft links and Windows junctions? > > > > Thanks, > > Martin Cygwin itself does not have a command, that I know of, to do this. However, you can use the windows command shell to call its internal commands. In bash, e.g. $ /cygdrive/c/Windows/System32/cmd.exe /c dir /a:l /b shows all the junctions in my windows user home folder when I am there. The windows dir command can list links and junctions. The mklink command documentation at https://ss64.com/nt/mklink.html has more information than the "mklink/?" help text about links. HTH Doug -- Doug Henderson, Calgary, Alberta, Canada - from gmail.com -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple