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
|
|
@ -1,10 +0,0 @@
|
|||
#!/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
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
fshared="/mnt/Shared/bapkgs"
|
||||
|
||||
if [ -z "$*" ]; then
|
||||
cd "$fshared"
|
||||
pkgs=$(ls *.pkg.tar.xz)
|
||||
sudo pacman -U $pkgs
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue