Skip to content

✂️ [Finished] File splitter and recover using pipes. Based on the functioning of RAID 5. Coursework: Operating Systems

License

Notifications You must be signed in to change notification settings

gmartinezramirez-old/File-Splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Splitter and joiner

Compilation

  • Execute makefile, to compile the 3 executables: main, CUT and JOIN. The object code will be compiled in the "build / obj" folder and the executables in the "build /" folder.
$ make

Execution

  • Go to `build/' directory.
  • For execution you must run the main program main next to the Options - cut N <input> if you want to cut the input file in N parts, or with - join <original-file> if you want to restore the original file.
  • The JOIN program will retrieve the missing part - if any - and unite all the parts to restore the original program.
$ ./main --cut N file.extension
$ ./main --join file.extension

Example

$ ./main --cut 6 doc.pdf
$ ./main --join doc.pdf

About

✂️ [Finished] File splitter and recover using pipes. Based on the functioning of RAID 5. Coursework: Operating Systems

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published