Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.
pelmesh619Public archive

About

My error-resistent archiver written in C++

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This archiver was written as one of laboratory work in the first semester at ITMO University

It uses redundant error-correcting Hamming code and can archive a lot of files creating a single .haf file

Use CMake to built .exe file

Usage

-f, --file=[ARHCNAME] - filename of archive

-c, --create - creating a new archive

-l, --list - list all files in an existing archive

-x, --extract - extract file from an existing archive (make dearchving)

-a, --append - append file in an archive file

-d, --delete - delete file from an archive (without extracting)

-A, --concatenate - merge 2 or move archives

-input - input files to archive/extract or archive files to merge (argument can be positional)

-q, encode_size - size of block to encode in Hamming code (less size of block -> more bytes per block will be added -> more volume -> more error in archive can be corrected)

Examples of execution

hamarc --create --file=ARCHIVE FILE1 FILE2 FILE3

hamarc -l -f ARCHIVE

hamarc --concantenate ARCHIVE1 ARCHIVE2 -f ARCHIVE3

About

My error-resistent archiver written in C++

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages