start using GNU stow
add more configurations to the dotfiles directory
This commit is contained in:
13
.local/bin/unzip-all
Executable file
13
.local/bin/unzip-all
Executable file
@@ -0,0 +1,13 @@
|
||||
#/bin/bash
|
||||
|
||||
if [ -z ${var+2} ]; then
|
||||
echo -e "\033[91mno parameters were given!\033[0m"
|
||||
fi
|
||||
|
||||
for i in $2; do
|
||||
readonly fname="$(basename $i .*)"
|
||||
mkdir "$fname"
|
||||
cd "$fname"
|
||||
unzip "../$i"
|
||||
cd -
|
||||
done
|
||||
Reference in New Issue
Block a user