[arch-general] a bit more script

Jesse Juhani Jaara jesse.jaara at gmail.com
Tue Mar 20 04:21:58 EDT 2012


ti, 2012-03-20 kello 08:15 +0000, pete kirjoitti:
> The slight problem is in  this part <img src="thumbs/"img_0004.jpg">
> thumbs is a sub dir off the main photos with thumbnails in it they are
> named  img_0004_s.jpg  and i can get it to pick this fact up that means
> i have an edit job every time  . help with mods please folks 

You can use find comman in these cases :D

find /image/dir -name '*.jpg' -exec echo "<a class...>" \; >>
gallery.html

the \ before ; is importand there :D \;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20120320/23d691ba/attachment.asc>


More information about the arch-general mailing list