Change directory for some tools.

This commit is contained in:
Eduard Tolosa 2019-02-08 22:40:44 -05:00
parent ebc9eceadb
commit 57f965cc6e
2 changed files with 0 additions and 0 deletions

10
devtools/bamvpkgs Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/bash
fshared="/mnt/Shared/bapkgs"
if [ -z "$*" ]; then
for file in $(ls *.pkg.tar.xz); do $(sudo mv "$file" "$fshared"); done
exit
else
for file in "${@:1}"; do $(sudo mv "$file" "$fshared"); done
fi