Page 1 of 1

NTFS - Set file Archive bit on image update

Posted: Thu Mar 17, 2022 10:30 am
by bobzhn
Windows NTFS

Requesting a feature to turn on the "File is ready for archiving" attribute when users Save Image / Add IPTC Keyword etc.

This is to allow for easier backup purpose.

Typical workflow :
1. Folder contains existing images with all "Archive" attribute turned off (previously backed up).
2. User perform manual tagging / categorizing image with IPTC/XMP keywords, add descriptions using XNViewMP.
3. Updated files are set with Archive bit on by XNViewMP <<< feature requested
4. Backup utilities will copy files with Archive bit set on. Useful for gigabytes of images in multiple folders.

*Assuming user would like to preserve file modified time.

With this feature my trusty Picasa 3.8 can finally be retired. Thanks.

Technical info :
FILE_ATTRIBUTE_READONLY = 1
FILE_ATTRIBUTE_HIDDEN = 2
FILE_ATTRIBUTE_SYSTEM = 4
FILE_ATTRIBUTE_DIRECTORY = 16
FILE_ATTRIBUTE_ARCHIVE = 32

More info: http://ss64.com/nt/attrib.html