Skip to content

picaf2 (Pick-up a file) is a tool to generate a clickable map of files

Notifications You must be signed in to change notification settings

tos-kamiya/picaf2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

picaf2

picaf2 (Pick-up a file) is a tool to generate a clickable map of files.

Show the window that allows you to click filenames, from text containing file names.

Installation

pipx install git+https://github.com/tos-kamiya/picaf2

Usage

picaf2 [options] inupt_file

Launch a web page showing text in the file as a map of clickable filenames.

By default, when a file name is clicked, print the filename. With the option -c, you can execute the specified command for the filename.

Options

-c COMMAND, --command=COMMAND     Command line for the clicked file. `{0}` is a place holder to put a file name.
-t TYPES, --types=TYPES           File type(s). "f": file, "d": directory, "fd": both file and directory.

Example of Use/Screenshots

Ubuntu 24.04

tree | picaf2 - -tf -c 'wc {0}'

Changelog

  • v0.2.1 fix to recognize "~/" as a directory.
  • v0.2.0 add `--done-mark' option for marking a file as done when clicked.
  • v0.1.1 add --types option to specify file types.
  • v0.1.0 the first release.

About

picaf2 (Pick-up a file) is a tool to generate a clickable map of files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages