I hereby claim:
- I am marlabrizel on github.
- I am marlabrizel (https://keybase.io/marlabrizel) on keybase.
- I have a public key ASCUiBo8iul7dZEgAQeuc9Q-5GJ0B5orq5FBeH2jw6HosAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
SOURCE="path/to/files/you/want/to/symlink" | |
DEST="/path/to/location/where/symlinks/should/live" | |
cd $SOURCE | |
for name in $(find $SOURCE -maxdepth 1); do | |
newpath=`echo $name | cut -f 6 -d "/" ` | |
ln -s $name $newpath | |
done |
def get_in(data, array) | |
if array.size > 1 | |
key = array.shift | |
get_in(data[key], array) | |
else | |
return data.values.first | |
end | |
end |