Hi,
I knew that years ago I’ve already used it but now I can’t get it up running …
I want a TCC command running on several jpg’s and the output should consider only the file name and not the extension.
I’ve tried this without success:
E.g. one file name is St-Tropez-1984_1280w.jpg and the output name should be St-Tropez-1984_1280w.webp.
If I’m just using %a.webp for the output the “.jpg” part isn’t discarded and I got file names like St-Tropez-1984_1280w.jpg.webp.
Thanks in advance.
Ulrich
I knew that years ago I’ve already used it but now I can’t get it up running …
I want a TCC command running on several jpg’s and the output should consider only the file name and not the extension.
I’ve tried this without success:
for %a in (St-Tropez-1984*.jpg) do cwebp -q 80 %a -o %@name[%file].webp
E.g. one file name is St-Tropez-1984_1280w.jpg and the output name should be St-Tropez-1984_1280w.webp.
If I’m just using %a.webp for the output the “.jpg” part isn’t discarded and I got file names like St-Tropez-1984_1280w.jpg.webp.
Thanks in advance.
Ulrich