Skip to content

Commit

Permalink
Convenience script for creating a backup and new file for editing GT …
Browse files Browse the repository at this point in the history
…files
  • Loading branch information
Purg committed Dec 13, 2024
1 parent 94031a7 commit cff19e3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/make_orig_fixed.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FPATH="$1"

FPATH_ORIG="${FPATH}-ORIGINAL"
FPATH_FIXD="${FPATH}-FIXED"

mv "${FPATH}" "${FPATH_ORIG}"
cp "${FPATH_ORIG}" "${FPATH_FIXD}"
ln -s "$(basename "${FPATH_FIXD}")" "${FPATH}"

0 comments on commit cff19e3

Please sign in to comment.