soveran / walk

Walk a directory tree and print the name of every regular file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

walk

Walk a directory tree and print the name of every regular file.

Description

Walk traverses a directory hierarchy starting at path and prints the name of every regular file. It doesn't print the names of directories.

Installation

Install walk into /usr/local/bin with the following command:

$ make install

You can use make PREFIX=/some/other/directory install if you wish to use a different destination. If you want to remove walk from your system, use make uninstall.

Motivation

While you can accomplish the same with find, walk is faster because it does less work by focusing on one common use case. I wrote it so that I could traverse deep file hierarchies in a fraction of the time it takes find to complete.

Contributing

If you find a bug, please create an issue detailing the ways to reproduce it. If you have a suggestion, create an issue detailing the use case.

About

Walk a directory tree and print the name of every regular file

License:BSD 2-Clause "Simplified" License


Languages

Language:C 44.8%Language:Makefile 34.7%Language:Roff 17.6%Language:Shell 2.9%