LinuxLinks.com
Newbies What Next ? News Forums Calendar

Search





News Sections
Home
General News (3972/0)
Reviews (626/0)
Press Releases (464/0)
Distributions (187/0)
Software (807/0)
Hardware (522/0)
Security (192/0)
Tutorials (337/0)
Off Topic (180/0)


User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User


Events
There are no upcoming events



CLI Magic: Use Extended Attributes for better file management   
Monday, June 20 2005 @ 05:35 PM EDT
Contributed by: glosser

While the current fad in operating systems is advanced searching, Linux.com presents an alternative method, advanced file description via extended attributes.

There are many organizational techniques that contribute to efficient file management. Thoughtful and effective directory hierarchies help users locate content with ease. Consistent and expressive file nomenclatures give users the ability to discern the nature of a file's content at a glance. Unfortunately, there are many things that even the most expressive file name can't convey. In some cases, there is just too much information, most of which doesn't warrant inclusion in a concise file name. Many unique file formats now include embedded meta-data mechanisms that provide users with a way to 'tag' files. With a specialized tag editor, users can easily associate a title, artist and album with a specific MP3 file, for instance. Wouldn't it be nice to be able to associate arbitrary tag data with any kind file or directory? With extended attributes, you can.

Extended attributes are essentially name/value pairs that can be assigned to any file or directory. This powerful file system meta-data feature, when intelligently used, can facilitate tremendously efficient file management. The goal of this example-driven overview is to illustrate the power of extended attributes and demonstrate potential uses. You will need a basic understanding of awk and bash to appreciate the significance of some of the examples, but even users without a lot of command line experience will be able to understand the commands and figure out how to use them. By the time you finish reading this article, you will be able to take advantage of the coolest file system feature to be implemented since the symbolic link.

Getting Started

Full tutorial

  [ Views: 1488 ]  


CLI Magic: Use Extended Attributes for better file management | 0 comments | Create New Account
The following comments are owned by whoever posted them. This site is not responsible for what they say.
No user comments.


What's Related
  • Full tutorial
  • More by glosser
  • More from Tutorials


  • Story Options
  • Mail Story to a Friend
  • Printable Story Format


  • We have written a range of guides highlighting excellent free books for popular programming languages. Check out the following guides: C, C++, C#, Java, JavaScript, CoffeeScript, HTML, Python, Ruby, Perl, Haskell, PHP, Lisp, R, Prolog, Scala, Scheme, and SQL.

    Built with GeekLog and phpBB
    Comments to the webmaster are welcome
    Copyright 2009 LinuxLinks.com - All rights reserved