amishbni / list

Very small tool to simplify common listing tasks I've needed done.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

list - simple tool to list stuff

How to install?

  • Clone the repository into ~/.list
git clone https://github.com/amirashabani/list ~/.list
  • Make it executable
chmod +x ~/.list/list
  • Copy it to /usr/local/bin, so that the command is recognized by your terminal. Make sure to run it with sudo.
sudo cp ~/.list/list /usr/local/bin

How to use?

  • To list everything
list
  • To only list directories
list dirs
  • To only list files
list files
  • To list hidden files and directories
list hidden
  • To only list hidden directories
list hidden dirs
  • To only list hidden files
list hidden files

Note that you can replace the words "hidden, files, and dirs" with their first letter.

About

Very small tool to simplify common listing tasks I've needed done.


Languages

Language:Shell 100.0%