F-clip is a simple command-line tool that allows users to copy the contents of a text file directly to the clipboard. It supports clearing the clipboard and displaying help information.
- Copy the contents of a specified text file to the clipboard.
- Clear the clipboard to remove any existing content.
- Display help information for usage instructions.
-
Clone the Repository (or download the files):
git clone https://github.com/Cyber-Programer/F-clip.git
-
Make sure you have Python 3 and the
pyperclip
library installed:pip install pyperclip
-
Run the setup script:
bash setup.sh
You can use F-clip
in the terminal with the following commands:
To copy the contents of a file to the clipboard, use:
F-clip <filename>
F-clip data.txt
- To clear the clipboard content, use:
F-clip --clear
- Also use
F-clip -clr
- To display usage instructions, use:
F-clip --help
F-clip myfile.txt
F-clip --clear
F-clip --help