bash batch remove string from folder names code example Example: bash batch remove string from folder names mv "$f" "${f/.so/}"