From 8c7e502494c0cbc51e5cb7cbc455ace13941cce4 Mon Sep 17 00:00:00 2001 From: 6543 Date: Fri, 15 Mar 2019 15:23:45 +0100 Subject: [PATCH] simple script to move all in parrent volder --- deploy.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 deploy.sh diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..1ee1f2b --- /dev/null +++ b/deploy.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +function main() { + + script="$(readlink -e "$0")" + ordner="$(echo $script | rev | cut -d '/' -f 2- | rev)" + cd "$ordner" + mv -v * ../ + mv .git* ../ + cd .. + rm -r md5_cp/ +} + +main