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 filename = path.file_name().unwrap();
|
||||||
let output = Command::new("unar")
|
let output = Command::new("unar")
|
||||||
.current_dir(parent_dir)
|
.current_dir(parent_dir)
|
||||||
|
.arg("-s")
|
||||||
|
.arg("-d")
|
||||||
.arg(filename)
|
.arg(filename)
|
||||||
.output();
|
.output();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user