undiff.sh 252 B

123456789101112
  1. #!/bin/sh
  2. # Place the unmodified, pristine forms of mods in mods/,
  3. # then watch this use diff/ to OCD-ify them :)
  4. for folder in diff/*
  5. do
  6. export modsfolder=$(echo $folder | sed 's/diff/mods/' | sed 's/\.diff//')
  7. cp -r $folder/* $modsfolder/
  8. done