search video file

Posted on 2008-11-03
Last Modified: 2013-11-14
I have a lot of files most of them stay in a 1 Tb hardisk i looking the way to search the file quickly some time i known the file is on hardisk but i do not known the name How can i make a system that can put the keyword of each video so i can search it  .  and i want my staff  In my office can search and can download the file that he want too     I noneed to preview file but if it has it will be very good
Question by:teera
    LVL 14

    Accepted Solution

    find  -type f -name
    for example: I like to know what are available rpm file under /root
    then I use the following
    same way you can say
    find / -type f - name \*.avi
    find / -type f -name \*.mpg

    Gud luck
    [root@pro02 ~]# find /root/ -type f -name \*.rpm
    [root@pro02 ~]# 

    Open in new window


    Author Comment

    Hi kosarajudeepak

    How can i put the key word to the file such as Mr robert  then i can search from the name or the place that i make a video  I need the system that i can put key word to the file
    LVL 48

    Assisted Solution

    How often do the files get created/deleted?  If it is infrequent, it will be much, much, much faster to generate your own index on a regular frequency, eg: every hour.

    LVL 14

    Expert Comment

    by:Deepak Kosaraju
    I am not sure about adding keyword to a file in linux. As of my knowledge is concern we cannot do it in console base but can be done in GUI.
    But to search with particular keyword following commands can be used...
    find / -type f -name Mr\*
    find / -type f -name \"Mr\ robert\"

    Open in new window


    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
    Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now