skip if already exists.
This commit is contained in:
parent
ac182765e2
commit
8e11522b2a
@ -10,6 +10,8 @@ fn unar_file(path: &Path) -> io::Result<()> {
|
||||
let filename = path.file_name().unwrap();
|
||||
let output = Command::new("unar")
|
||||
.current_dir(parent_dir)
|
||||
.arg("-s")
|
||||
.arg("-d")
|
||||
.arg(filename)
|
||||
.output();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user