diff --git a/collectionfor.sh b/collectionfor.sh new file mode 100644 index 0000000..db538e8 --- /dev/null +++ b/collectionfor.sh @@ -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 \ No newline at end of file