#!/bin/sh # create list with all images in the wiki in markdown # author: @fabiantheblind # the headlines are formated to point to github raw files # https://raw.github.com/wiki/fabiantheblind/auto-typo-adbe-id/stripes.png # # #touch overview.md if [ -e "image_overview.md" ]; then echo "\"image_overview.md\" already exists. I will remove it" rm image_overview.md fi # numfiles=(*) # numfiles=${#numfiles[@]} # echo "There are $numfiles .jsx / .txt / .sh files in this directory" #echo ls -l | grep -c "^-.*" echo "##Autogenerated Image Overview " >> image_overview.md; echo '