diff --git a/crates/jmrenamer/src/main.rs b/crates/jmrenamer/src/main.rs index 391e9ff..5ee58fa 100644 --- a/crates/jmrenamer/src/main.rs +++ b/crates/jmrenamer/src/main.rs @@ -59,6 +59,8 @@ fn main() -> io::Result<()> { if src_path.exists() { fs::rename(src_path, dest_path)?; println!("moved {} -> {}", src_path.display(), dest_path.display()); + } else if dest_path.exists() { + println!("{} already exists", dest_path.display()); } }