simple script to move all in parrent volder

This commit is contained in:
6543 2019-03-15 15:23:45 +01:00
parent 375b8d3eb2
commit 8c7e502494
1 changed files with 14 additions and 0 deletions

14
deploy.sh Normal file
View File

@ -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