(no commit message; fuck you)
This commit is contained in:
parent
75cda59b8b
commit
51dcbce182
2
.directory
Normal file
2
.directory
Normal file
@ -0,0 +1,2 @@
|
||||
[Desktop Entry]
|
||||
Icon=folder-script
|
13
bash/grab4chanthreadimages.sh
Executable file
13
bash/grab4chanthreadimages.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user