Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

For the first time I needed to perform a diff on an SVG file created with Inkscape, because I had a conflict in SVN.

While checking the differences, I noticed that the SVG file contains a lot of personal information. The personal information is about paths used for exporting. The SVG source looks like this:

<text ... inkscape:export-filename="<personal information here>" ... />

In my case it has a lot of folder names going back to projects I worked for in 2009.

How can I remove this personal information from Inkscape SVG files?

Of course I could do it in a text editor manually, but that has some disadvantages:

  • it's error-prone. You need to be quite sure what you're doing. There should be a safer way to do it.
  • it's time-consuming. There should be a quicker way to do it.
  • it might be incomplete. Maybe there is other personal data I have not discovered yet.
share|improve this question

1 Answer 1

up vote 4 down vote accepted

The easiest way to do this is to save the file as an Optimized SVG file. This option is available in the Save As... dialog dropdown. When you click save a dialog will popup asking you what to remove. Make sure the box Keep Editor Data is left unchecked.

share|improve this answer
    
I must have missed that one, because it's far down in the options. I tried it and it works. –  Thomas Weller Apr 9 '14 at 20:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.