Problems when converting a lot of files
Problems when converting a lot of files
I tried to convert about 1000 files and IM first used all the space on drive C than gone infinite. When i try to convert a hundred of these files IM converts them rather quickly (less than a minute), tried to -limit map 0, so it dosen't used the swap but also never ended it's operation. Can i limit the number of files it operates in memory or conigure it to save converted files immediatly? Or maybe other solutions?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Problems when converting a lot of files
You will need to DIY a script around a IM command to do that.
See batch processing alturnative for some posible methods under Linux
http://www.imagemagick.org/Usage/basics ... ogrify_not
for example the "xargs" program collects N filenames (or whatever) from its standard then runs the command on that list of files. You can control the number of files, from 1 to whatever. You can even have it print the commands it generates and or a dry-run without executing.
See batch processing alturnative for some posible methods under Linux
http://www.imagemagick.org/Usage/basics ... ogrify_not
for example the "xargs" program collects N filenames (or whatever) from its standard then runs the command on that list of files. You can control the number of files, from 1 to whatever. You can even have it print the commands it generates and or a dry-run without executing.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/