linux - 3 common problems i want to solve using unrar bash -
i have common problem using unrar bash
i have bash
#!/bin/bash rar in ls *.rar echo extrayendo $rar en pwd unrar x $rar done
this bash allows me unrar every .rar file have in directory, have 3 problems
- its every time need write .rar password, files use same password, think if add -p password should work right?
#!/bin/bash rar in ls *.rar echo extrayendo $rar en pwd unrar x -p password $rar done
this annoying problem have, when im unrar files .url,.html, .txt , .srt files appears, no problems .srt files do, because need them, movie, need tell unrar delete .url, .txt , .html files or unrar file movie .mkv , .srt
the last problems in every .rar files has .srt files named latino, espaƱol, spa,esp, etc. , want auto rename .srt files name of movie file, movie files videofile.mkv
i know may asking cant make work i've been trying 2 days , no luck :c
Comments
Post a Comment