Cygwin, Trucs et astuces

De TechWik
Aller à : navigation, rechercher

Divers fichiers, liens...

Création de liens symboliques.

Voir https://www.cygwin.com/cygwin-ug-net/using.html#pathnames-symlinks

 target_dir="//server/path avec des espaces"
 link_name="//server/path-dest avec des espaces"
 cmd /c mklink /d "`cygpath -w \"$link_name\"`" "`cygpath -w \"$target_dir\"`"

ou

 export CYGWIN="nodosfilewarning winsymlinks:lnk"
 ln -s "$target_dir" "$link_name"