Use TO_BE_REMOVED_DIR inplace of static string.
This commit is contained in:
parent
d4c94a5a3a
commit
7da8639881
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user