Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Meta data of text file

besides file name what meta data do a plain text file contain ?

like image 472
user537488 Avatar asked Dec 11 '10 15:12

user537488


People also ask

What is meta data of a file?

Metadata is created anytime a document, a file or other information asset is modified, including its deletion. Accurate metadata can be helpful in prolonging the lifespan of existing data by helping users find new ways to apply it. Metadata organizes a data object by using terms associated with that particular object.

How do I add metadata to a text file?

If you want to add metadata support for text files, say, then all you have to do is scroll the left-hand “File Extensions” list, select the TXT file type, and click “Add File Meta Handler”.

Does text have metadata?

Depending on the usage of the file, it might contain some metadata -- for example, a script file might indicate the program used to run the script at the top -- but in general a plain text file doesn't contain metadata itself.

How do I remove metadata from a text file?

Right-click on the file. View its Properties. If there is metadata that you would like to remove, select the Details tab. Click Remove Properties and Personal Information.


3 Answers

I can think of lots of metadata that even a plain text file has -- creator, size, permissions, last accessed time, last modified time, etc. -- some of which probably depend on which OS you're talking about. I'd suggest looking at the directory operations and/or the file data structures in the system libraries on the particular OS for a more complete list for each particular OS.

Depending on the usage of the file, it might contain some metadata -- for example, a script file might indicate the program used to run the script at the top -- but in general a plain text file doesn't contain metadata itself.

like image 187
tvanfosson Avatar answered Sep 19 '22 14:09

tvanfosson


What file system? Strictly speaking, a "plain text file" doesn't contain any meta data, not even the name of the file. All of that is handled by the file system.

like image 22
David Avatar answered Sep 17 '22 14:09

David


On Linux (not in the file content, but in the filesystem):

  • Permissions
  • Owner
  • Group
  • Size
  • References Count
  • Date of last change
  • Name

There are a few others (like a readonly flag), but you will usually not need them.

like image 33
thejh Avatar answered Sep 21 '22 14:09

thejh