Skip to content

Latest commit

Β 

History

History
32 lines (23 loc) Β· 857 Bytes

File metadata and controls

32 lines (23 loc) Β· 857 Bytes

COPYCAT 🐈

A simple reimplementation of cp (copy) cli command.

This is a simple, educational reimplementation of the Unix cp (copy) command in c. It was created to better understand how file operations work at a low level, including system calls for reading and writing files.

⚠️ Disclaimer: This project is for learning purposes only and is not intended to replace the real cp command.

πŸ“‚ Features

  • Copies a file from source to destination
  • Overwrites destination if it already exists
  • Handles basic error cases (e.g., missing files, permissions)

πŸ› οΈ Build Instructions

  1. cd into the build folder.
    cd build
  2. Build using make
    make
  3. Run the program
    ./CopyCat -h

Author

GitHub: @jeydev