Use TO_BE_REMOVED_DIR inplace of static string.

This commit is contained in:
Bill Thiede 2021-02-21 09:42:21 -08:00
parent d4c94a5a3a
commit 7da8639881

View File

@ -72,8 +72,9 @@ fn print_dupes(lib: &MovieLibrary) {
let root = Path::new(&lib.root);
for path in &delete_paths {
println!(
r#"mv "{}" /storage/media/to-be-deleted/"#,
root.join(path).to_string_lossy()
r#"mv "{}" {}"#,
root.join(path).to_string_lossy(),
TO_BE_REMOVED_DIR
);
}
if delete_paths.len() > 0 {