Changes devs to dev files; run in database (for update script) or tce_dir
#!/bin/ash
### devs2dev.sh script. jpeters
## EDIT DB:
DB="./"
cd ${DB}
FILES="$(ls | grep -E 'devs')"
for I in ${FILES}
do
echo ${I} >/tmp/old
NEW="$(cat /tmp/old | sed 's/devs/dev/')"
sudo mv ${I} ${NEW}
done
[ -f /tmp/old ] && sudo rm /tmp/old