cutthecord/emojireplace.sh

11 lines
371 B
Bash
Raw Normal View History

2019-01-18 14:51:40 +00:00
#!/bin/bash
EXTRACTED_DISCORD="/home/ave/Downloads/dic/com.discord-830"
EXTRACTED_MUTSTD="/home/ave/Downloads/emojo/72x72"
for filename in $EXTRACTED_DISCORD/res/raw/*.png; do
basefilename=$(basename $filename)
if [ -f $EXTRACTED_MUTSTD/$basefilename ]; then
echo "$basefilename replaced"
\cp $EXTRACTED_MUTSTD/$basefilename $filename
fi
done