Is there an archive bit I can use in OSX? I want to copy some files and mark them as "processed". Therefor I need a marker. I like to use the archiv bit formerly used for backup files. How can I read /set it (if available)?
Asked
Active
Viewed 578 times
0
-
Use Extended Attributes on the file. Here's [a tutorial](http://nshipster.com/extended-file-attributes/) – Code Different Aug 31 '16 at 22:36
-
And here is how to read/write extended attributes in Swift: http://stackoverflow.com/questions/38343186/write-extend-file-attributes-swift-example. – Martin R Sep 01 '16 at 03:28
-
Excellent. That's exactly what I need. Thank you – Peter71 Sep 01 '16 at 11:23