Thanks to visit codestin.com
Credit goes to github.com

Skip to content

WestleyR/list-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

List File(s) And Directory(s)

lf is a simple, and fast file/directory lister with color hightlighting, file permision and file links!


Install:

There are several ways to install lf, you can:

Install lf from source:

cd ~/github-repos  # optional

git clone https://github.com/WestleyR/list-files.git
cd lf/

# checkout to a stable version (optional)
git checkout v1.1.0

make
make test # optional, it only takes a second
sudo make install

You can also install to a specified prefix:

$ make install PREFIX=/some/prefix

Install lf via brew:

First, you will need to add my tap:

$ brew tap WestleyR/core

Then, you can install like normal:

$ brew install list-files

brew also makes it easy to uninstall, and update lf.

Example:

$ ./lf 
-rwx r-xr-x  westleyk  westleyk  18.4 KB       lf
-rw- r--r--  westleyk  westleyk  1.5 KB        tests-funcs
-rw- r--r--  westleyk  westleyk  1.5 KB        Makefile
drwx r-xr-x  westleyk  westleyk  4.0 KB        src
drwx r-xr-x  westleyk  westleyk  4.0 KB        tests
drwx r-xr-x  westleyk  westleyk  4.0 KB        pre-compiled
-rw- r--r--  westleyk  westleyk  859 B         run-tests
-rw- r--r--  westleyk  westleyk  745 B         README.md
-rw- r--r--  westleyk  westleyk  1.6 KB        LICENSE