15 lines
507 B
Bash
Executable File
15 lines
507 B
Bash
Executable File
#!/bin/bash
|
|
|
|
REPO="/data/github/active/Melawy/REPO/melawy/x86_64/"
|
|
|
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.pkg.tar.xz" -exec mv -v {} $REPO \;
|
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.sig" -exec mv -v {} $REPO \;
|
|
|
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.pkg.tar.xz" -delete
|
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.pkg.tar.zst" -delete
|
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.sig" -delete
|
|
|
|
echo "Ready"
|
|
sleep 5
|
|
kill $(ps x | grep konsole | grep $0 | awk '{print $1}')
|