Forum: IT Professionals' Lounge Sep 11th, 2008 |
| Replies: 7 Views: 2,179 Hmm... well, technically you could run it all on one line like this:
for FILE in $(find . -type f -name '*4%3a*'); do NEWNAME=$(echo $FILE|sed s/'4%3a'//); mv -v $FILE $NEWNAME; done
but... |