-
Notifications
You must be signed in to change notification settings - Fork 3
lff
suewonjp edited this page Jun 13, 2017
·
3 revisions
Motivation of lff
is same as lfs.
Unlike lfs
that lets you select a particular path with index, lff
will let you do that by filtering with BASIC REGULAR EXPRESSION
-
lff
- Will list all the paths returned by previous call of
lf
orlfi
- Will list all the paths returned by previous call of
-
lff [pattern]
- Will select one or more paths matching [pattern] from the paths found by previous call of
lf
orlfi
- [pattern] is
BASIC REGULAR EXPRESSION
used bygrep
command
- Will select one or more paths matching [pattern] from the paths found by previous call of
-
lff [pattern] +
- Same as
lff [pattern]
except that the obtained paths will be copied to the system clipboard - Refer to lfs command for more details
- Same as
-
lff --help
- Will show help message
$ lf --
files/empty.txt
files/folder 0/empty.txt
files/folder 0/folder 2/empty.txt
files/folder 0/foo.txt
files/folder 1/bar.txt
$ lff
files/empty.txt
files/folder 0/empty.txt
files/folder 0/folder 2/empty.txt
files/folder 0/foo.txt
files/folder 1/bar.txt
$ lff empty
files/empty.txt
files/folder 0/empty.txt
files/folder 0/folder 2/empty.txt
$ lff bar +
files/folder 1/bar.txt ## Now this path has been copied to the system clipboard...
[ NOTE ] This command shares basic functionalities with lfs; Refer to that command for information not described here