1
eason1874 2021-10-20 18:17:55 +08:00
用啥都方便,shell 、批处理、甚至是 PHP 都行,PHP 用迭代器遍历文件也是很快的
|
2
NillSpake 2021-10-20 18:19:09 +08:00
python rename 直接撸
|
3
sutra 2021-10-20 18:19:55 +08:00 2
find . -name '1.mkv' | awk -F '/' '{system("mv "$2"/"$3" "$2"/"$2".mkv")}'
|
4
luckyx 2021-10-21 01:50:12 +08:00
for folder in `ls`
do cd $folder cp 1.mkv A.mkv rm 1.kmv cd .. done |