Skip to content

A pure C, multi-threaded program which indexes directories recursively and responds to user commands about file types.

Notifications You must be signed in to change notification settings

michalmuzyka/Mole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mole

Credit project for the subject Operating Systems 1.

Program is written in pure C.

Program goes through all the files in the given directory and subdirectories, creates a data structure in memory containing the necessary data about these files, and then waits for commands which are queries about the data contained in this structure. In order not to look through the whole directory each time, the whole data structure is saved to a file and loaded in subsequent calls to the program.

File types are recognized by file signature (magic number headers) Projects uses POSIX program execution environment, threads, subprocesses and low-level IO.

About

A pure C, multi-threaded program which indexes directories recursively and responds to user commands about file types.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages