milis/bin/adlandir.sh

12 lines
269 B
Bash
Executable File

#!/bin/bash
for file in $(find ./* -name 'Pkgfile')
do
mv $file $(echo "$file" | sed -r 's|Pkgfile|talimat|g')
done
for file in $(find ./* -name '*.post-install')
do
mv $file $(echo "$file" | sed -r 's|.post-install|.kur-kos|g')
done
echo "isimler değiştirildi"