aboutsummaryrefslogtreecommitdiffstats
path: root/images/models/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'images/models/README.md')
-rw-r--r--images/models/README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/images/models/README.md b/images/models/README.md
index 9420de0..5b653c6 100644
--- a/images/models/README.md
+++ b/images/models/README.md
@@ -8,7 +8,8 @@ downloaded and resized with
git clone https://github.com/Moorviper/Freifunk-Router-Anleitungen
cd Freifunk-Router-Anleitungen/
mkdir fronts
-for i in *-*; do touch fronts/$i.jpg; cp $i/*front*.jpg fronts/$i.jpg; done
+for i in *-*; do cd $i; for f in *front*.jpg; do echo "$f";done; cd ../fronts/; ln -s ../$i/$f $i.jpg;cd ..;done
+#for i in *-*; do touch fronts/$i.jpg; cp $i/*front*.jpg fronts/$i.jpg; done
cd fronts/
for i in *.jpg; do
new="$(basename $i .jpg \
@@ -29,4 +30,4 @@ mkdir large
mv *jpg large/
mv fronts/* /var/www/freifunk/ffki-startseite/images/models/
-``` \ No newline at end of file
+```