mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Change directory for some tools.
This commit is contained in:
parent
ebc9eceadb
commit
57f965cc6e
2 changed files with 0 additions and 0 deletions
10
devtools/bamvpkgs
Executable file
10
devtools/bamvpkgs
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue