Page 1 of 1

Delete on moving duplicate

Posted: 05 Dec 2024 17:25
by christian777
Hello,
new user's first post here, so please forgive me.
When I want to move a file and it already exists at the destination, I would like to have another option: "Delete source". This would mean to keep the existing target but also get rid of the source file without an extra delete operation.

Most likely this function is already available but hidden from me anyway.
Thank you!

Re: Delete on moving duplicate

Posted: 06 Dec 2024 10:54
by admin
Hi and welcome to the club!

This request is a bit unusual, I have never heard of such a functionality. But the result of an overwrite is identical, so why not just overwrite?

Re: Delete on moving duplicate

Posted: 06 Dec 2024 11:16
by christian777
Well, yesterday I noticed there are image files that appearently contain altered metadata, but otherwise they are identical to the source files. So overwriting would destroy the updated metadata.

Re: Delete on moving duplicate

Posted: 06 Dec 2024 12:12
by admin
What kind of metadata?

Re: Delete on moving duplicate

Posted: 06 Dec 2024 12:16
by highend
"image files", probably exif?

Re: Delete on moving duplicate

Posted: 06 Dec 2024 12:19
by christian777
highend wrote: 06 Dec 2024 12:16 "image files", probably exif?
Yes, exactly.

Re: Delete on moving duplicate

Posted: 06 Dec 2024 12:24
by admin
So the files were not true duplicates. Does that mean you are just talking about name collisions? In that case, deleting the source would be pretty drastic.

Re: Delete on moving duplicate

Posted: 06 Dec 2024 12:33
by christian777
Yes, I agree. But in my use case I would like to have the choice. Because I know what I do.
Of course, I could select "Skip" and press the Delete button after. But that's complicated when it occurs during multiple file copy.

Re: Delete on moving duplicate

Posted: 06 Dec 2024 12:41
by highend
Imho: Yeah, if this (setting) would be set wrong it has drastic results.
Probably too dangerous...

Re: Delete on moving duplicate

Posted: 06 Dec 2024 12:45
by christian777
Doesn't need to be a setting. Only additional choice in the copy conflict dialog.

Re: Delete on moving duplicate

Posted: 06 Dec 2024 12:51
by admin
Too exotic, too dangerous.

However, it can be done by a script.

Re: Delete on moving duplicate

Posted: 06 Dec 2024 13:04
by highend
Only additional choice in the copy conflict dialog
That is a setting ;)

Re: Delete on moving duplicate

Posted: 06 Dec 2024 13:18
by christian777
admin wrote: 06 Dec 2024 12:51 Too exotic, too dangerous.
OK. Just wanted to give it a try.

I love about XYplorer that everything can be done by scripting :biggrin: