path: root/images/models/README.md
diff options
authornutzer <you@domain.com>2017-01-18 18:17:33 +0100
committernutzer <you@domain.com>2017-01-18 18:17:33 +0100
commit284df6206c4f8cb8f2abef1f58055ae5a7e7b1ff (patch)
tree5000ae44c618144cf17337660b37306ac48e2b1f /images/models/README.md
parentbf7f304d6644307308fd11f43d46a6b50af5ef8a (diff)
Link not copy Router node pictures so the thumbnails can be generated in place at /opt/hardware/Freifunk-Router-Anleitungen/
Diffstat (limited to 'images/models/README.md')
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