server scripts
This commit is contained in:
parent
2303b04e79
commit
b5d51fb79c
7 changed files with 56 additions and 0 deletions
11
scripts/server_bin/update_fa.sh
Executable file
11
scripts/server_bin/update_fa.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
N=2
|
||||
cd $HOME/gallery-dl/furaffinity
|
||||
for i in */; do
|
||||
echo ">> $i"
|
||||
(gallery-dl --abort 3 --sleep 0-1 https://www.furaffinity.net/user/$i) &
|
||||
if [[ $(jobs -r -p | wc -l) -ge $N ]]; then
|
||||
wait -n
|
||||
fi
|
||||
done
|
||||
wait
|
Loading…
Add table
Add a link
Reference in a new issue