detach attachments

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
xoanohn
Posts: 18
Joined: Thu Dec 13, 2018 11:30 am

detach attachments

Post by xoanohn » Tue Feb 11, 2020 1:17 pm

I have some corrupted pdfs, so on the attachment sidebar, I click on the right mouse button and click detach and then drag and drop a new file.

What happened to the detached file? Is it erased?

Jon
Site Admin
Posts: 8429
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: detach attachments

Post by Jon » Tue Feb 11, 2020 1:57 pm

No, it's not touched. Bookends just removes it's name from the database record of the reference.

Jon
Sonny Software

xoanohn
Posts: 18
Joined: Thu Dec 13, 2018 11:30 am

Re: detach attachments

Post by xoanohn » Thu Feb 13, 2020 4:33 pm

Is there a easy way to find these orphaned attachments? Since I detached them, they should still be in the attachments folder. Right?

Jon
Site Admin
Posts: 8429
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: detach attachments

Post by Jon » Thu Feb 13, 2020 4:57 pm

Yes, they should be. But you can't find them via Bookends. Bookends no longer knows about them.

Jon
Sonny Software

xoanohn
Posts: 18
Joined: Thu Dec 13, 2018 11:30 am

Re: detach attachments

Post by xoanohn » Thu Feb 13, 2020 5:11 pm

So how do I know which ones are the detached ones? Is there a way to generate a list of all attached files?

Jon
Site Admin
Posts: 8429
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: detach attachments

Post by Jon » Thu Feb 13, 2020 5:22 pm

You click on the Attachments group, mark all the references in it, and use a format that just outputs attachments to make a "bibliography". It will contain the names of all attachments.

But except for neatness, it really doesn't matter if there are PDFs in the default folder that aren't attached to a reference any longer. Bookends ignores them.

Jon
Sonny Software

xoanohn
Posts: 18
Joined: Thu Dec 13, 2018 11:30 am

Re: detach attachments

Post by xoanohn » Thu Feb 13, 2020 5:36 pm

Thanks - I am trying to delete unnecessary files.

Post Reply