I have 500ish SVG files with simple black drawings but I just realized they are all treated as individual objects when cutting, not as a group. I need to perform union action for each file.
Is there a code line I can use in CMD with Potrace or Imagemagick or Inkscape alone that will be able to run this action in bulk, and perform union to all shapes in all files? Select all in file - Path - Union.
I can also edit them in Notepad++ by replacing function if I knew what code line needs to be replaced.
Hi,
I have 500ish SVG files with simple black drawings but I just realized they are all treated as individual objects when cutting, not as a group. I need to perform union action for each file.
Is there a code line I can use in CMD with Potrace or Imagemagick or Inkscape alone that will be able to run this action in bulk, and perform union to all shapes in all files?
Select all in file - Path - Union.
I can also edit them in Notepad++ by replacing function if I knew what code line needs to be replaced.
Thank you!
The Developers can help with command line operations: https://chat.inkscape.org/channel/team_devel
In the folder containing the svgs.
inkscape --actions="select-all;path-union;export-do" *
for every
filename.svg
it will producefilename_out.svg
THANK YOU!!!