How to stop bak files being created

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

veritylmiles
Posts: 5
Joined: Thu Nov 18, 2021 4:09 pm

How to stop bak files being created

Post by veritylmiles »

Hi,

I am having problems tagging images - when I select an image, Xnview creates a .bak file so that I am not able to tag the orignial image.

I have looked at previous questions about this on the forum but can't find a solution that works for me.

I have a lot of data - I am tagging about 500,000 images. Weirdly it worked fine for the first 300,000 and the problem has just started. I haven't changed any of the settings and have checked there are not errors on the hard drive. The images are not write protected.

Any help would be greatly appreciated, thanks!
User avatar
XnTriq
Moderator & Librarian
Posts: 6040
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: How to stop bak files being created

Post by XnTriq »

Are the files in question write-protected/read-only, veritylmiles?

Related options:
  • ToolsSettings…GeneralFile operations
    • Make backup for lossless flip/rotation
    • Make backup for lossless crop
    • Make backup for other lossless operations
Related topics:
veritylmiles
Posts: 5
Joined: Thu Nov 18, 2021 4:09 pm

Re: How to stop bak files being created

Post by veritylmiles »

Hi,

Thanks for your reply.

None of the files are write-protected or read only.

I have unticked all of those options (Make backup for lossless flip/rotation, Make backup for lossless crop, Make backup for other lossless operations) but the problem still occurs.

What happens is I select a number of photos, tag them using the categories, then as soon as I click on to another image a .bak file is created for each of the images I just tagged. This bak file sits at the bottom of the folder so it takes me to the end of the folder and I loose my place.

Would love to find an answer to this!

Many thanks
User avatar
XnTriq
Moderator & Librarian
Posts: 6040
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: How to stop bak files being created

Post by XnTriq »

I've not been able to reproduce this issue myself, but other users have. Maybe Pierre knows what's going on.
BuckSkin
Posts: 78
Joined: Thu Aug 18, 2016 4:09 am

Re: How to stop bak files being created

Post by BuckSkin »

veritylmiles wrote: Wed Jul 13, 2022 10:33 am
Would love to find an answer to this!
Know that you are not alone in this and it is extremely annoying; I wish I could offer a solution, but I have not been able to find one myself.

My suggestion to the creators is to make a version that does not create .bak files at all.

It is most annoying to me when I am adding embedded comments and IPTC; if I am not very careful, I will be adding my information to the bak files and not the actual files.

I have been fighting this for a long time and have not found a solution yet.

If the bak files serve a useful purpose, I have not been able to find it, but they sure are an extreme annoyance.

If it is any help in your situation, you can change the format from .bak to .jpg and the bak file becomes a plain old jpeg.
User avatar
xnview
Author of XnView
Posts: 37946
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to stop bak files being created

Post by xnview »

what do you have in Settings>General>File operations & Settings>Metadata?
By tagging, you select a file and select a category in the categories panel?
Pierre.