Question: Hi i have stored some files(pdf, html,doc) in alfresco cms, my requirement is to classify these files using metadata "content-type" filed in the alfresco cms, is it possible to do it by using only alfrensco or do i need to integrate any other crawlers(tika, nutch, lucene) with alfresco to get it. please suggest me a way to do it

Answer: 
Hi This is a simple Rule to move an HTML file to another folder.

If you need more flexibility and just 1 rule instead of a rule for each type, you'll need to write some JavaScript and check on the mime-type field.

![enter image description here](https://i.stack.imgur.com/gGf1E.png)
The "content-type" metadata are based on the extension of filename put in Alfresco (.pdf, .doc). Files with un-recognized extensions have no valid content-type.

You can simply use "Rules" in Alfresco to organize your files.