Re: a bit more script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Oh sorry I forgot something important from the command. In for f in...
you use $f to replace the filename. In find you -exec you use {}
find . -name '*.jpg' -exec echo "<a class=\"highslide\" href=\"{}\"
onclick=\"return hs.expand(this)\"><img src=\"thumbs/\"{}\"></a>" ;
done >> awardgallery.html

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux