Skip to content

Adjust symlinks when assigning DSIDs

Spyros Argyropoulos requested to merge fixLinking into master

Changes introduced

  • Introduce associative array DSIDdictionary that maps old DSIDs to new DSIDs (need to have bash v4 or higher for this to work - check added)
  • Use DSIDdictionary to adjust links pointing to dummy DSIDs

Tests

I tested on 5 dummy DSIDs with the following structure:
Screenshot_2020-04-20_at_11.34.06

The DSIDs get copied to:
Screenshot_2020-04-20_at_11.34.40

The link structure is adjusted as follows:
Screenshot_2020-04-20_at_11.35.45

and the links work: Screenshot_2020-04-20_at_11.37.35

Issues resolved

Closes #

Merge request reports

Loading