Add 'collectionfor.sh'
This commit is contained in:
parent
b8f31dd12b
commit
1f2386bf95
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# READ ALL WEBP FILES FROM A FOLDER
|
||||||
|
# AND DO SOMETHING TO EACH OF THEM
|
||||||
|
|
||||||
|
files=$(ls | grep .webp)
|
||||||
|
|
||||||
|
for file in $files
|
||||||
|
do
|
||||||
|
name=$(echo $file | cut -f 1 -d '.')
|
||||||
|
echo "$name, /emoji/random/$name.webp"
|
||||||
|
done
|
Loading…
Reference in New Issue