aboutsummaryrefslogtreecommitdiff
path: root/bin/migrate_to_folder.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.com>2021-11-20 00:08:54 +0200
committerkaotisk <kaotisk@arching-kaos.com>2021-11-20 00:08:54 +0200
commit4680df3e880be45c83a298002557fa6ac1b3a423 (patch)
tree9f15ca2f32e90730ad779ed49a9d16e1a18aa083 /bin/migrate_to_folder.sh
parent7e57767f0c0355f808486111580be41c2f467a10 (diff)
download01-NEWS-4680df3e880be45c83a298002557fa6ac1b3a423.tar.gz
01-NEWS-4680df3e880be45c83a298002557fa6ac1b3a423.tar.bz2
01-NEWS-4680df3e880be45c83a298002557fa6ac1b3a423.zip
Packing to latest changes
Diffstat (limited to 'bin/migrate_to_folder.sh')
-rwxr-xr-xbin/migrate_to_folder.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/bin/migrate_to_folder.sh b/bin/migrate_to_folder.sh
deleted file mode 100755
index 93e64f2..0000000
--- a/bin/migrate_to_folder.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-echo "Migration tool 2: please run only once"
-echo "Moves your news to a news folder"
-FILES=$(ls -1 | grep 202)
-if [ -d news ]
-then
- echo "news directory exists";
-else
- mkdir news;
-fi
-for file in $FILES; do
- if [ -f $file ]
- then
- new_name="news/"$file
- mv $file $new_name
- git add $file $new_name
- git commit -m "Moved $file to news folder";
- fi
-done