fix mv erroring: use sed instead
This commit is contained in:
parent
a9408056fd
commit
45b9c85efa
1 changed files with 1 additions and 2 deletions
3
init.sh
3
init.sh
|
@ -43,8 +43,7 @@ rm init.sh config README.md LICENSE
|
||||||
rm -rf .git
|
rm -rf .git
|
||||||
|
|
||||||
# move template files into this directory
|
# move template files into this directory
|
||||||
mv template/* .
|
ls -a template | sed -r '/^\.+$/'d | xargs -I '{}' mv template/'{}' .
|
||||||
mv template/.* .
|
|
||||||
rmdir template
|
rmdir template
|
||||||
|
|
||||||
# Rename files
|
# Rename files
|
||||||
|
|
Loading…
Reference in a new issue