报告分类bash报告分类bash for file in *.pdf; do mkdir -p -- "${file%%-*}" && \ mv -- "$file" "${file%%-*}"; done