Lightweight cmdline fs search.

$ luarocks install fss

Lightweight cmdline fs search.

usage: lua /home/lighght/Xpace/fss/fss.lua <PATTERNS> <PATH>{ <PATH>}
where: <PATH> ::= / | /<name>{/<name>} | <name>{/<name>}
<PATTERNS> ::= <PATTERN>{,<PATTERN>}
<PATTERN> ::= <cstr>{.<cstr>
<cstr> ::= <consecutive str>
<name> ::= <file name>

means: given a group of patterns,
use each pattern to search in all paths recursively;
and output the combined results in stdout.

also: if one path already satisfies, its children will not be included

e.g.: X.482.H : 1 pattern, which finds Xpace/EECS-482/Homeworks
e.g.: Xp.e.482.H : 1 pattern, does the same
e.g.: Xe.482.H : 1 pattern, but fails the prev search
e.g.: X.482.H,Y : 2 patterns, find [<prev search>, Yggdrasill]
but no more children under Yggdrasill

Versions

1.3-1106 days ago3 downloads
1.3-0106 days ago2 downloads
1.2-0108 days ago2 downloads
1.1-0108 days ago4 downloads
1.0.2-1109 days ago3 downloads
1.0.1-2109 days ago6 downloads
1.0.1-1109 days ago3 downloads
1.0.0-1109 days ago3 downloads
0.1.0-1109 days ago5 downloads

Dependencies

lua >= 5.1, < 6
penlight >= 1.10

Labels

Manifests