forked from distok/cutthecord
11 lines
371 B
Bash
11 lines
371 B
Bash
|
#!/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
|