mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
27 lines
444 B
Bash
Executable file
27 lines
444 B
Bash
Executable file
#!/bin/bash
|
|
|
|
exit 0
|
|
|
|
echo "linking stuff to dist/"
|
|
SRC='./src'
|
|
DEST='./dist'
|
|
|
|
cd ${SRC}
|
|
|
|
for i in $(find); do
|
|
~/.bin/hr.sh
|
|
echo $i
|
|
if [ ! -d "$i" ]; then
|
|
fname=$(basename "${SRC}/${i}")
|
|
dirname=$(dirname "${SRC}/${i}")
|
|
withoutExt=$(echo "${fname}" | rev | cut -d'.' -f2- | rev)
|
|
checkFile=$(echo "${DEST}/${i}")
|
|
|
|
echo $fname
|
|
echo $dirname
|
|
echo $withoutExt
|
|
echo $checkFile
|
|
else
|
|
echo "DIR $i"
|
|
fi
|
|
done
|