aboutsummaryrefslogtreecommitdiff
path: root/bin/migrate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/migrate.sh')
-rwxr-xr-xbin/migrate.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/bin/migrate.sh b/bin/migrate.sh
deleted file mode 100755
index 8b6db20..0000000
--- a/bin/migrate.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-echo "Migration tool: please run only once"
-FILES=$(ls -1 | grep 202)
-for file in $FILES; do
- if [ -f $file ]
- then
- title="$(head -n 1 $file)"
- new_name="$file-$(echo "$title" | tr '[:upper:]' '[:lower:]' | sed -e 's/ /\_/g')"
- mv $file $new_name
- git add $file $new_name
- git commit -m "Migrated to new naming $file to $new_name";
- fi
-done