8000 GitHub - kidunot89/llama-print: Shell script tool for printing the text content at a path to the terminal. ¯\_(ツ)_/¯ You figure it out.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Shell script tool for printing the text content at a path to the terminal. ¯\_(ツ)_/¯ You figure it out.

License

Notifications You must be signed in to change notification settings

kidunot89/llama-print

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LlamaPrint

LlamaPrint is a command-line utility that recursively searches a specified directory, printing the text content of files. It provides options to include or exclude files based on glob patterns and has the ability to follow symbolic links.

Usage

llamaprint [path] --include [include] --exclude [exclude] --follow-links
  • path: The path to search. Default is the current directory.
  • include: A glob pattern to include files. Default is * (all files).
  • exclude: A glob pattern to exclude files. No default value.
  • --follow-links: An optional flag to follow symbolic links. Not enabled by default.

Installation

Prerequisites

Ensure that you have the necessary permissions to read the files and execute scripts in the specified path.

Manual Installation

  1. Download the llamaPrint.sh script.
  2. Make it executable: chmod +x path_to_script/llamaPrint.sh
  3. Move it to a directory in your PATH or add its location to PATH:
    • Move to a directory in PATH: mv path_to_script/llamaPrint.sh /usr/local/bin/llamaprint
    • Or, add script location to PATH: export PATH=$PATH:path_to_script (add this line to your shell profile file for permanent effect)
  4. Now you can use llamaprint from any location in the terminal.

Automated Installation

You can also use the provided install.sh script to install LlamaPrint as an alias in your shell profile. Simply run:

./install.sh

Note

Always test scripts in a safe environment before using them in production to ensure they behave as expected and do not cause data loss or other issues.

About

Shell script tool for printing the text content at a path to the terminal. ¯\_(ツ)_/¯ You figure it out.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0