Skip to content

RootSprout/CopyCat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple re-implementation of cp cli.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published