Skip to content

This is an implementation of "Spotlight feature in Mac", which searches for files on the computer disk instantly. The file search can be done using name, extension or even content of the file.

Notifications You must be signed in to change notification settings

aadyant27/Desktop-Search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Desktop Search Engine:

We can search for files based on the text content present within that file. Or in a generic way, we can also search based on the file type i.e. using file-name or file-extension.

Step 1:

Install the dependencies using requirements.txt using the below line of code:

pip install -r requirements.txt

Step 2:

Execute the Main.py which will create a Db for the files and words in the given directory.

Please provide absolute path of the folder and append it with a slash i.e. '/' for Mac, Linux & '' for Windows. "It's a one-time process that has to be executed."

Step 3:

Execute the retrieval.py which searches based on user input & retrieves the top 5 matching files.

About

This is an implementation of "Spotlight feature in Mac", which searches for files on the computer disk instantly. The file search can be done using name, extension or even content of the file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages