网友 yingaoyun 说:
*帖最后由 yingaoyun 于 2023-1-17 16:29 编辑
文件名格式为:txtarticlee.php?id=222088&fname=文档1.txt
用这个命令
- find . -name ‘txtarticlee*.txt*’ -exec bash -c ‘fname=$(echo {} | awk -F &*uot;fname=&*uot; ‘{p**nt $2}’); mv {} $fname’ \;
未经允许不得转载:爱主机 » [**VPS]
求批量重命名的**