Skip to content

list-all is a simple one-file C application. It lists all files in all subdirectories in a root directory.

License

Notifications You must be signed in to change notification settings

mrehfeld-code/list-all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

list-all

list-all is a simple one-file C application. It lists all files in all subdirectories in a root directory.

Usage

If no command line argument is given list-all uses the current directory as root dir. It gets the total path of the current directory with getenv() and the environment variable $PWD, so it only works on Linux and macOS systems. If one or more arguments are given list-all uses the first command line argument as root directory.

Installation

Just run the commands below and have fun.

git clone https://github.com/mrehfeld-code/list-all 
cd list-all 
cmake -S . -B build
cd build
make list-all 
sudo make install

Terms of Use

This project is licensed under the MIT License. You are allowed to use, copy, change and sell the code on your own.

About

list-all is a simple one-file C application. It lists all files in all subdirectories in a root directory.

Topics

Resources

License

Stars

Watchers

Forks