delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/07/14:26:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=5.0 required=5.0 tests=AWL,BAYES_00,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
From: "Jeffrey J. Kosowsky" <cygwin AT kosowsky DOT org>
MIME-version: 1.0
Message-id: <19792.18244.175041.754011@consult.pretender>
Date: Mon, 07 Feb 2011 14:25:56 -0500
To: Cyrille Lefevre <cyrille DOT lefevre-lists AT laposte DOT net>
Cc: cygwin AT cygwin DOT com
Subject: Re: Finding junction points
In-reply-to: <4D5045B8.3080209@laposte.net>
References: <19792 DOT 13316 DOT 462354 DOT 112225 AT consult DOT pretender> <4D5045B8 DOT 3080209 AT laposte DOT net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Cyrille Lefevre wrote at about 20:19:20 +0100 on Monday, February 7, 2011:
 >=20
 > Le 07/02/2011 19:03, Jeffrey J. Kosowsky a =C3=A9crit :
 > >
 > > Is there any way to find (all) junction point using cygwin?
 > > (if not possible in cygwin, can you point me to native win
 > > functionality)
 >=20
 > how about the old dir one :-)
 >=20
 > ~ $ cmd /c dir /a:l
 > ...
 >   R=E2=96=92pertoire de C:\Users\Cyrille\Documents
 >=20
 > 17/12/2009  15:03    <JONCTION>     Cygwin [\??\C:\cygwin\home\Cyrille]
 > 24/09/2007  21:37    <JONCTION>     Ma musique [C:\Users\Cyrille\Music]
 > 28/09/2007  23:45    <JONCTION>     Mes contacts [C:\Documents and=20
 > Settings\Cyrille\Contacts]
 > 24/09/2007  21:37    <JONCTION>     Mes images [C:\Users\Cyrille\Picture=
s]
 > 28/09/2007  23:44    <JONCTION>     Mes liens [C:\Documents and=20
 > Settings\Cyrille\Favorites]
 > 28/09/2007  23:43    <JONCTION>     Mes t=E2=96=92l=E2=96=92chargements =
[C:\Documents=20
 > and Settings\Cyrille\Downloads]
 > 24/09/2007  21:37    <JONCTION>     Mes vid=E2=96=92os [C:\Users\Cyrille=
\Videos]
 >=20
 > add /s for a recursive search
 >=20
 > well, that(s funny :
 >=20
 > /windows $ cmd /c dir /a:l /s
 > ...
 > Le nom de r=E2=96=92pertoire C:\windows\System32\config\systemprofile\Lo=
cal=20
 > Settings\Application Data\Application Data\Application Data\Application=
=20
 > Data\Application Data\Application Data\Application Data\Application=20
 > Data\Microsoft\Windows\GameExplorer\{0AE259F7-4756-4B2B-883C-B5B1D0A4D34=
6}=20
 > est trop long.
 > ...
 >=20
 > even windows commands fails one recursive junctions !
 >=20

Yes - that is one of my two problems:
1. It gets messed up on loops created by its own junctions
2. The format of the output is a bit difficult to parse since you have
   to go back up to see what directory you are in.

Ideally, I would like to have the output in 2-columns like:
source1   target1
source 2  target2
etc.


where each source and target are full pathnames.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019