Skip to content

datruth29/logfind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Logfind

This is an implementation of the logfind project proposed on the website "Projects The Hard Way".

The program is basically a poor man's grep. It looks through a list of files and returns the ones that match a series of search words the user inputs.

Setup

First make sure you setup a .logfind file in your home directory. This file should contain absolute paths to the files you wish to search. Your home directory is dependent on your OS. You can find it by entering these commands in your terminal (or just navigate to them in your Window GUI).

  • Linux/Mac:
    $ cd ~
  • Windows:
    $ cd %USERPROFILE% or $ cd C:/User/UserName

Then create the .logfind file with the file paths.

Usage

$ logfind [-o] search_words
The default behavior is to find files that have all the words.
The -o sets it to look for files that have any of the words.

About

A logfind implementation proposed on the website "Projects The Hard Way"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages