Hi,
Le 30/10/2013 08:52, Jaap Karssenberg a écrit :
bash -c 'for i in %d/*.JPG; do echo "{{./$i?width=700}}" >> %s; done
Could you put, some lines of what output you expect?
%d and %s and, even %letter, is not a bash feature…
What does this %% means to you?
A small script (read: save the commands into a text file) will do the
trick easily, hopefully. :-)
Of course you can use any other programming language to accomplish the
job, are you under GNU/linux or windows?
As a teaser, here's the command which list all the jpg of the current dir:
for f in `ls | grep -i JPG`; do echo "{{./$f?width=700}}"; done
it ouputs:
{{./planche-photo.jpg?width=700}}
Note that:
ls | grep -i JPG
is a sub command which actually lists the jpg file with case
insensitive, under GNU/Linux it's matter.
Regards,
Sylvain.
_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to : [email protected]
Unsubscribe : https://launchpad.net/~zim-wiki
More help : https://help.launchpad.net/ListHelp