Skip to content

Simple Unix style filter, that reads files from STDIN (or command line) and filters out based on stat() rules

Notifications You must be signed in to change notification settings

zwoop/statfilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

statfilter
==========

This is a very simple Unix style filter, that reads file names (or
directory names) on STDIN (or command line), applies a configured set of
stat() filtering rules to each file, and prints the matching files or
directories on STDOUT.

This is useful, for example, in shell scripts where you want to filter out
certain files from the output of a command like 'dpkg' based on what type
of file it is (i.e. select only names that are directories).

About

Simple Unix style filter, that reads files from STDIN (or command line) and filters out based on stat() rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published