Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevedylandev/cpf
A simple script to copy the contents of a file to your clipboard
https://github.com/stevedylandev/cpf
Last synced: 11 days ago
JSON representation
A simple script to copy the contents of a file to your clipboard
- Host: GitHub
- URL: https://github.com/stevedylandev/cpf
- Owner: stevedylandev
- Created: 2023-07-14T22:48:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-14T23:57:57.000Z (over 1 year ago)
- Last Synced: 2024-12-09T00:07:24.053Z (16 days ago)
- Language: Shell
- Size: 7.35 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cpf
cpf (or cp file) is a super simple script to copy the contents of a file through the terminal to your clipboard.
![gif of cpf](cpf.gif)
## Usage
Simply run `cpf` followed by the file you want to copy the contents of.
```bash
cpf index.jsFile contents copied to clipboard!
```## Installation
Copy and paste the following command into your terminal
```bash
git clone https://github.com/stevedylandev/cpf && cd cpf && sudo chmod +x install.sh && sudo ./install.sh
```