From: Robert Klemme Date: 2010-10-12T22:26:01+09:00 Subject: Re: OT: file attribute serialization in Windows On Tue, Oct 12, 2010 at 2:27 PM, Ralph Shnelvar wrote: > I am writing a backup program (not necessarily in Ruby) and I need to back up ALL of a file's attributes. > > > > For Windows: > > R Read-only files > H Hidden files > A Files ready for archiving > S System files > > I Not content indexed files > L Reparse Points > > 1. Long and short names > 2. Owners > 3. Alternate data streams (ugh) > > > > Does anyone Out There know of code that will pick up all (did I miss any?) of these attributes? > > > Is there Ruby code that serialize and deserialize all of the attributes? Hm, maybe you can use xcacls command line utility to help with that. You'll find it somewhere on MS's download pages. (But do not confuse it with a VB program with the same / similar name.) HTH Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/