cygcheck -f ... misleading as to file ownership & no relative paths
Marco Atzeri
marco_atzeri@yahoo.it
Sun Feb 24 09:38:00 GMT 2008
--- Linda Walsh ha scritto:
>
> "cygcheck -f" doesn't work if you are in a directory
> and you execute it on
> files in the directory (unless you are in "/").
> I.e. it doesn't
> seem to recognize relative directories.
Hi Linda,
you are right but there is a easy trick :-)
at least if a cygwin shell is working
$ cd /usr/share/doc/bash-3.2.33/
/usr/share/doc/bash-3.2.33
$ cygcheck -f README
(No Answer)
/usr/share/doc/bash-3.2.33
$ cygcheck -f $PWD/README
bash-3.2.33-18
(Right answer)
if cygwin is not working, cygpath and cygcheck
should be used together
C:\cygwin\usr\share\doc\bash-3.2.33>cygpath -a README
/usr/share/doc/bash-3.2.33/README
C:\cygwin\usr\share\doc\bash-3.2.33>cygcheck -f
/usr/share/doc/bash-3.2.33/README
bash-3.2.33-18
Regards
Marco
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list