{"id":21097561,"url":"https://github.com/azkasahar/file-manager","last_synced_at":"2026-05-21T10:04:04.495Z","repository":{"id":248223151,"uuid":"828109688","full_name":"AzkaSahar/file-manager","owner":"AzkaSahar","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-15T17:43:35.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T02:11:20.338Z","etag":null,"topics":["c","decryption","directory","encryption","encryption-decryption","file","file-management-system","keywords-extraction","linux","operating","operating-s","os","sorting"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AzkaSahar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-13T06:33:48.000Z","updated_at":"2025-01-17T11:55:05.000Z","dependencies_parsed_at":"2024-07-13T08:24:07.450Z","dependency_job_id":"3e1faecd-5acf-4ead-bea4-d23167d41ccd","html_url":"https://github.com/AzkaSahar/file-manager","commit_stats":null,"previous_names":["azkasahar/file-manager"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2Ffile-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2Ffile-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2Ffile-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2Ffile-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AzkaSahar","download_url":"https://codeload.github.com/AzkaSahar/file-manager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243539060,"owners_count":20307273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","decryption","directory","encryption","encryption-decryption","file","file-management-system","keywords-extraction","linux","operating","operating-s","os","sorting"],"created_at":"2024-11-19T22:48:43.848Z","updated_at":"2026-05-21T10:03:59.455Z","avatar_url":"https://github.com/AzkaSahar.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# file-manager\n# Operating System Course Project\nMade by group of 3 people\n\nThis project implements various file manipulation and encryption/decryption functionalities using multithreading and synchronization mechanisms in C. Below is an overview of the project and instructions on how to use it.\n\n## Overview\n\nThe project consists of several functionalities implemented through command-line commands:\n\n- **File Management**: Creating, deleting, and renaming files within a specified directory.\n- **Encryption**: Encrypting files using a simple XOR encryption method and storing hash values.\n- **Decryption**: Decrypting previously encrypted files and retrieving stored hash values.\n- **Sorting**: Sorting files alphabetically within a directory.\n- **Keyword Indexing**: Creating an index of keywords found in text files and allowing searching through them.\n\n## Requirements\n\nTo compile and run this project, ensure you have the following installed:\n\n- **GCC**: The GNU Compiler Collection for compiling C programs.\n- **Linux Environment**: This project assumes a Linux environment due to the use of system-specific libraries and commands (`pthread`, `semaphore`, `mmap`, etc.).\n\n## Commands and Usage\n\n### Compilation\n\nCompile the project using GCC:\n\n```bash\ngcc project.c -o project -pthread\n```\n\n### Commands\n\nThe project supports the following commands:\n\n- **Create File**: `-c \u003cdirectory\u003e` - Creates a new file in the specified directory.\n- **Delete File**: `-del \u003cdirectory\u003e` - Deletes a file in the specified directory.\n- **Rename File**: `-r \u003cdirectory\u003e` - Renames a file in the specified directory.\n- **Encryption**: `-e \u003cdirectory\u003e` - Encrypts a file using XOR encryption and stores hash values.\n- **Decryption**: `-d \u003cdirectory\u003e` - Decrypts a previously encrypted file and retrieves stored hash values.\n- **Sorting**: `-s \u003cdirectory\u003e` - Sorts files alphabetically within the specified directory.\n- **Keyword Indexing**: `-p \u003cdirectory\u003e` - Creates an index of keywords found in text files and allows searching.\n\n### Examples\n\nCompile the project:\n\n```bash\ngcc project.c -o project -pthread\n```\n\nCreate a new file:\n\n```bash\n./project -c /path/to/directory\n```\n\nEncrypt a file:\n\n```bash\n./project -e /path/to/file.txt\n```\n\nDecrypt a file:\n\n```bash\n./project -d /path/to/encrypted_file.txt\n```\n\nSort files alphabetically:\n\n```bash\n./project -s /path/to/directory\n```\n\nCreate a keyword index:\n\n```bash\n./project -p /path/to/directory\n```\n\n## Notes\n\n- **Concurrency**: The project utilizes multithreading (`pthread`) and synchronization (`mutex`, `semaphore`) for concurrent operations.\n- **Error Handling**: Error messages are displayed for file operations and encryption/decryption failures.\n- **Compatibility**: Ensure you are running this project on a Linux system due to system-specific commands and libraries used.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazkasahar%2Ffile-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazkasahar%2Ffile-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazkasahar%2Ffile-manager/lists"}