/file-duplicator

A file duplicator using asynchronous read and write operations in the lib aio.

Primary LanguageC

File Duplicator

This program duplicates any source.txt into destination.txt using asynchronous read and write methods in aio library.


Usage:

Compile with:

gcc main.c -pthread -lrt -o main

If you get any warnings you can add -w

./main <source_path> <destination_path> <number_of_threads>