jftuga Posted May 3, 2012 Posted May 3, 2012 I have created a program that runs a command-line executable in parallel on a group of similar files. I am sure something like this has been posted before; but I wanted to have the satisfaction of creating my own flavor and it has also been awhile since I have contributed a script back to the community. I am very happy with the way it turned out.I was able to run the ImageMagick convert.exe program to convert 1440 jpg files (avg size: 135kb) to tiff files. On a 16 CPU system this created 1440 tiff files in 74 seconds, which is just under 20 image conversions per second. The program figures out the number of CPUs your system has and runs that many subprocesses concurrently.My program is called mp, short for multi-process. From a command line, you would use:mp.exe convert “_input_ _base_.tiff” -- *.jpgAnything inside of underscores are macros that get substituted with file names. See the website for more information and examples.1) https://github.com/jftuga/Windows/tree/master/mp2) click on the mp.exe link3) click on Raw to download the actual mp.exe exectuable4) usage: https://github.com/jftuga/Windows/raw/master/mp/usage.png5) AutoIt source code: https://github.com/jftuga/Windows/blob/master/mp/mp.au3If you decide to try this out, please reply as I would love to get some feedback. I'd also love to hear about similar AutoIt scripts, too. Maybe I can learn from those as well.Thanks,-John Admin_Popup, show computer info or launch shellRemote Manager, facilitates connecting to RDP / VNCProc_Watch, reprioritize cpu intensive processesUDF: _ini_to_dict, transforms ini file entries into variablesUDF: monitor_resolutions, returns resolutions of multiple monitorsReport Computer Problem, for your IT help deskProfile Fixer, fixes a 'missing' AD user profile
stormbreaker Posted May 3, 2012 Posted May 3, 2012 (edited) Please post your program at another hosting site (for eg. mediafire or any other), unable to load GithubEDIT:GitHub links working now. Tested your program with 7za.exe and works fine. Edited May 3, 2012 by MKISH ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now