#!/bin/sh for yyyy in `cat 1.txt`;domv /abc/good${yyyy}/ abc/${yyyy};done
#!/bin/bashawk '{mv /abc/good$0/ abc/$0/}' 1.txt