CCCPaste

fzf example usage

#get files to work with
wget -r "https://filmsbykris.com/scripts/2020/"

apt install fzf
# or
apt install git
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

#list file
fzf

#cat file
cat "$(fzf)"

#find people info
wget "https://filmsbykris.com/scripts/2020/people.txt"
cat people.txt|fzf
cat people.txt|fzf|cut -f3,5,8
cat people.txt|fzf -m|cut -f3,5,8

#direct from website
wget -qO- "https://filmsbykris.com/scripts/2020/employee.lst"|fzf|cut -d\| -f2
wget -qO- "https://filmsbykris.com/scripts/2020/employee.lst"|fzf -m --prompt "Select Crew: "|cut -d\| -f2

apt install tmux
tmux
wget -qO- "https://filmsbykris.com/scripts/2020/employee.lst"|fzf-tmux -d 35% -m --prompt "Select Crew: "|cut -d\| -f2

#use to clipboard
#code: https://pastebin.com/4haxFWPW

#fake email example
clear;wget -qO- "https://filmsbykris.com/scripts/2020/auth.txt";read

#show vim buffer and file search

#use it as a menu for scripts
echo -e "John\nJack\nJames\nSara\nSam"|fzf
#in a script:
https://filmsbykris.com/scripts/2020/fzf-names.sh

#use as a menu of functions in a script
https://filmsbykris.com/scripts/2020/fzf-menu-example.sh

#show books and o for opening files