Basic replica of GNU ar written in C.
##Installation##
-
Place myar.c, myar.h, and Makefile in the desired directory.
-
Run make.
##Usage##
Execute myar to view usage information.
Example commands:
- View contents of
archive.ar
with detailed permissions:./myar -v archive.ar
- Append
file1.txt
,file2.txt
,file3.txt
toarchive.ar
:./myar -q archive.ar file1.txt file2.txt file3.txt
- Extract all files from
archive.ar
:./myar -x archive.ar