Skip to content

davefowler/aicopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

aicopy

aicopy is a simple command-line tool for macOS that copies the contents of a directory or a file, along with their filenames, to the clipboard. This is especially useful for sharing code snippets or directories of code files in a structured format.

It's just a small wrapper around pbcopy that also includes filename information.

Features

  • Copy the contents of a directory to the clipboard, including filenames.
  • Copy a single file or a pattern of files to the clipboard.
  • Output is structured with clear delimiters for easy parsing by AI or automated systems.

Installation

Manual Installation

  1. Download the installation script:

    curl -s https://raw.githubusercontent.com/yourusername/aicopy/main/install-aicopy.sh | bash

This will download the aicopy script and place it in /usr/local/bin.

Usage

aicopy <directory|file|pattern>

Acknowledgement to AI

Most of this code and the readme was written by Chat-GPT 4o. Here's the full chat.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages