Move instead of copy attached file

Bug #780188 reported by zsquareplusc
This bug affects 6 people
Affects Status Importance Assigned to Milestone

Bug Description

Feature request: It would be nice to have an option to move instead of copy a file that is attached using the menu Tools->Attach File.

My use case is that i have some files laying around, I want to organize them with Zim and a describing page. Therefore i want to move the files to the page (as attachment) and i do not longer need it at its original place. Now i have to manually go to the file's location again and delete it. In this use case i'd also like to preserve the original file and not a copy, see also bug 780184 which is related to this use case.

A workaround is to open the attachments folder and then drag the images directly into it, then drag the file again from the attachments folder to the page (Zim fortunately makes a correct relative link to the attachment in this case). However this requires two windows of the file browser to keep source and destination open.

E.g. a possible solution could be that the file dialog shown for Tools->Attach File had an extra check box like "move instead of copy attachment"

Changed in zim:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
galactic star (studiostarstuff) wrote :

This could be an option in the Attachment Browser plugin to move file instead of copying

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers