8 lines
415 B
Bash
8 lines
415 B
Bash
#!/bin/bash
|
|
command find -L . \( -path '*/\.*' -o -fstype 'dev' -o -fstype 'proc' \) -prune \
|
|
-o -type f -print \
|
|
-o -type d -print \
|
|
-o -type l -print 2> /dev/null | sed 1d | cut -b3- | fzf -m | while read item; do
|
|
printf '%q ' "$item"
|
|
done
|
|
echo
|