84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
我现在想实现的是批量解压目录下的所有rar文件到与其文件名相同的目录下,请问怎么做呢?
rar -x *.rar 只能解压到当前目录
求解,谢谢
认证0级讲师
According to your needs, I wrote a script, the address is: https://segmentfault.com/a/11..., you can refer to it for suggestions
Brother, please write a script
I specially wrote a script to handle this kind of decompression: x.hs.
I wrote this out of thin air and have not tested it.
Not responsible for the consequences.
for f in *.rar;do mkdir ./$f && unrar $f ./$f;done
According to your needs, I wrote a script, the address is: https://segmentfault.com/a/11..., you can refer to it for suggestions
Brother, please write a script
I specially wrote a script to handle this kind of decompression: x.hs.
I wrote this out of thin air and have not tested it.
Not responsible for the consequences.