News:

SMF - Just Installed!

Main Menu

Command for faster process?

Started by mahesh, Oct 12, 2023, 07:51 AM

Previous topic - Next topic

mahesh

Hi. I posted this to the Ubuntu Mate forum also. I have the following command to turn *.jpg to *.dds for X-Plane


Code:
ls *.jpg | xargs -I TEX basename TEX .jpg | xargs --max-procs=4 -I TEX2 convert TEX2.jpg TEX2.dds
I was wondering if I can edit this command to make it faster? The webpage where this command comes from states that the "procs" controls the number of parallel processes; I was wondering if I can increase this for a faster conversion? I have a quad-core i5 3.2GHz and an Nvidia GTX 1650.