Skip to main content
3 of 5
added 4 characters in body; edited title

How add a text field and then reproject all shapefiles which are in sub folders

I have a folder and inside of that folder, I have about 500 sub folders which contain on average about 5 shapefiles each.

What I want to do is:

  • to check if there is a field, lets say field_1, and if it is not in the attribute table, to add it (TEXT length = 6) and then
  • to reproject all the shapefiles preferably with ogr2org to EPSG:3035

I find this question 1 but my data are in multiple directories and this question 2 which is for converting all shapefiles in a directory.

the above questions give me food for thought of how can someone do something that I am looking for.

Thanks in advance.