Quote mv command so paths with ' work.

This commit is contained in:
Bill Thiede 2019-11-25 09:34:48 -08:00
parent 7f00c90003
commit ab716f0398

View File

@ -69,7 +69,7 @@ fn print_dupes(lib: &MovieLibrary) {
} }
delete_paths.sort(); delete_paths.sort();
for path in &delete_paths { for path in &delete_paths {
println!("mv '{}' /storage/media/to-be-deleted/", path); println!(r#"mv "{}" /storage/media/to-be-deleted/"#, path);
} }
} }