"move" instead of "copy" for "import and sort" funciton

Bugs which are supposed to be fixed in the next test version (not available yet)

Moderators: XnTriq, helmut, xnview, Dreamer

gharbeia
Posts: 3
Joined: Thu Apr 23, 2020 6:30 pm

"move" instead of "copy" for "import and sort" funciton

Post by gharbeia »

Hallo,

It would be great to have an option in the "import and sort" function to move the image files instead of copying them.
My main use case for using this function is to organise image files from amalgamations into a date-oriented directory-tree.

Being able to move files instead of copying has the following benefits:
  • Saving working space
  • Much faster, if both source and target are on the same filesystem, when the OS's filesystem moving function is used
  • Preserves file creation dates, which is sometimes preferred, again, if the OSs filesystem function is used.
Additionally, an option to prune empty directories from the source would help speed things, and make troubleshooting easier and safer.
User avatar
m.Th.
XnThusiast
Posts: 1610
Joined: Wed Aug 16, 2006 6:31 am

Re: "move" instead of "copy" for "import and sort" funciton

Post by m.Th. »

It is, in fact, this is THE standard use case.

Many of us need this huge small improvement in Import & Sort subsystem.

I would implement it by using the same UI panel from the „Batch Convert” dialog:
image.png
NOTES:
1. change in the above UI „conversion” with „Import” :-)
2. Use „Move” engine instead of „Copy” if the „Clear the Input file(s)” is checked. Perhaps Pierre can put the appropriate caption on that checkbox but this is optional.

In fact, I would dare to say that the default state of the checkbox (state which should be preserved between the sessions) should be Checked, because the main use case of the dialog is to Import the photos from the memory card to our computer.

Another note: the same request was discussed here: viewtopic.php?f=60&t=29752&p=134952

...and here: viewtopic.php?p=138056#p138056
You do not have the required permissions to view the files attached to this post.
m. Th.

- Dark Themed XnViewMP 1.0 64bit on Win10 x64 -
User avatar
m.Th.
XnThusiast
Posts: 1610
Joined: Wed Aug 16, 2006 6:31 am

Re: "move" instead of "copy" for "import and sort" funciton

Post by m.Th. »

Ping.... :-)
m. Th.

- Dark Themed XnViewMP 1.0 64bit on Win10 x64 -
User avatar
m.Th.
XnThusiast
Posts: 1610
Joined: Wed Aug 16, 2006 6:31 am

Re: "move" instead of "copy" for "import and sort" funciton

Post by m.Th. »

Actually this is a problem because many times we forget to manually delete the files from the source, and, then, we import them two times...
m. Th.

- Dark Themed XnViewMP 1.0 64bit on Win10 x64 -
Gwenael Q.
Posts: 160
Joined: Mon Apr 06, 2020 2:06 am
Location: Martinique

Re: "move" instead of "copy" for "import and sort" funciton

Post by Gwenael Q. »

+1 !!

furthemore, I have been using for years now a download manager to transfer images from memory card.

This small, handy and very reliable software allows to import image but also delete them in the source, only and only if, the same image (name, size...) are found in the target folder. No way otherwise to delete anything.

I find this feature invaluable since I'm completely confident about the fact that I won't loose anything.

The feature request about moving image would make this deleting feature less usefull (because user should not end with duplicated images) but I'm pretty sure that it could also be useful !!

Thanks for listening
User avatar
m.Th.
XnThusiast
Posts: 1610
Joined: Wed Aug 16, 2006 6:31 am

Re: "move" instead of "copy" for "import and sort" funciton

Post by m.Th. »

Ping...
m. Th.

- Dark Themed XnViewMP 1.0 64bit on Win10 x64 -
User avatar
xnview
Author of XnView
Posts: 38702
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: "move" instead of "copy" for "import and sort" funciton

Post by xnview »

See issue for current status and some details.
Pierre.