Created
February 18, 2014 01:56
-
-
Save micclly/9063118 to your computer and use it in GitHub Desktop.
This is a script to make symbolic links to all terminal data path of MetaTrader4 build 600 or later
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find $(cygpath $APPDATA)/MetaQuotes/Terminal/ -mindepth 2 -maxdepth 2 -name origin.txt -exec sh -c 'echo -n "ln -s "; echo -n {} | perl -pne "s,/origin.txt$,,g"; echo -n " \""; nkf -Lu {} | perl -pne "s,^.*\\\\,,g"; echo "\""' \; | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment