(no commit message; fuck you)

This commit is contained in:
adam 2023-04-19 18:54:36 -04:00
parent 75cda59b8b
commit 51dcbce182
2 changed files with 15 additions and 0 deletions

2
.directory Normal file
View File

@ -0,0 +1,2 @@
[Desktop Entry]
Icon=folder-script

13
bash/grab4chanthreadimages.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
mkdir temp && cd "$_"
#wget -r -l 1 -A jpg,jpeg,png,gif,bmp -nd -H <your link here>
for f in *.*
do
if [[ "$f" == *s.* ]]; then
rm $f
elif [[ "$f" =~ \.tmp(\.[\d]+)? ]]; then
rm $f
fi
done