LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Get Windows advanced attributes in Linux (https://www.linuxquestions.org/questions/programming-9/get-windows-advanced-attributes-in-linux-324847/)

mulciber 05-18-2005 07:43 PM

Get Windows advanced attributes in Linux
 
How would I be able to return the values of extra Windows attributes such as title, author, subject, category, etc. Hopefully I am using the right terminology, here. It's the extra stuff attached to a Word document that you find by right-clicking and going to properties in Windows.

I want to search my Windows box and report out all these extras as I need and perhaps then send to a deliminated text file for further manipulation. I am thinking this may not be possible due to differences in file system structures. Using "ls" or "stat" I can get the basics, but am looking for those more obscure attributes. I usually put a lot of info in those areas in Windows. I'm thinking of doing this via a shell script or through Python.

Any help would be great.

itsme86 05-19-2005 09:53 AM

I believe that Author, etc. isn't part of the filesystem, but part of the application's file format. You might want to look into Word's file format to find that kind of information.

mulciber 05-19-2005 12:44 PM

It's not specifically a Word document Im looking at. Just using that as a more familiar example. In windows explorer if you right click on the column settings you get options like Name, Title, Size, Type, Modified, Created, etc. That's the stuff I am looking for. I have a VB script from within Windows that can accomplish this but I want to get it from the linux side.


All times are GMT -5. The time now is 05:42 PM.