Emoji File Name under MacOSX

Recently was too busy on small stuff that I can’t focus on myself on the real thing I need to tackle. Annoying…

Anyway, I still find something fun which also stimulate my mind!

Interesting! Ah!

Emoji File Name under MacOSX
Emoji File Name under MacOSX Terminal

Here is my code of generating this:

1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash 

set -e
for i in {1..20}
do
filename='👍 '
for (( j=1;j<=$i;j++ ))
do
filename+='👍 '
done
echo $filename
touch "$filename"
done

More about Emoji…

0%