Yes. Of course.
I'm also thinking of changing this entire app to something that can change any format to any other format (provided there's a command for it).
What's your opinion ?
I think I should stop this and start working on that.
Yes. Of course.
That's something I really want, but I don't know to do it in yad.
Yes, of course.Huckleberry Finn wrote: Fri Sep 17, 2021 11:09 am Meanwhile, for the drag & drop thing: You can gain some time till you do it: You can just change the echo message to something like" Please drag files here then click ok" (Or something like that) that the user knows/guesses that it's normal it shows a blank window and they can just go on ignoring that ...
Yes. I'm including it in the next app (convert any format to any other compatible one)Huckleberry Finn wrote: Fri Sep 17, 2021 11:53 am Just the number of files.. Say: " 18 files will be converted " appears in the window. Then it'll do the job and the user will know that stage is ok... Then you click either to "Convert all" or to "Convert Just 1st Pages" (in place of OK) or "Cancel".
Benefits:Huckleberry Finn wrote: Fri Sep 17, 2021 10:13 am ls *.pdf | sed 's|\.pdf||' | xargs -I{} pdftoppm {}.pdf -jpeg {}
ls *.pdf | sed 's|\.pdf||' | xargs -I{} pdftoppm -singlefile {}.pdf -jpeg {}
Ah, yes. I hadn't tested that.TimothySimon wrote: Sat Sep 18, 2021 4:31 amCase insensitivity lost (won't convert .PDF , .Pdf etc.,
Code: Select all
ls *.pdf | sed 's|\.pdf||' | xargs -I{} pdftoppm {}.pdf -jpeg {} ; ls *.Pdf | sed 's|\.Pdf||' | xargs -I{} pdftoppm {}.Pdf -jpeg {} ; ls *.PDF | sed 's|\.PDF||' | xargs -I{} pdftoppm {}.PDF -jpeg {}