Skip to content

A command line interface using C++ with OOP for interacting with files on the Operating system

License

Notifications You must be signed in to change notification settings

naumansajjad/File-Manager-with-CLI-Using-OOP-Concepts-In-C-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI File Manager

Overview

The CLI File Manager is a powerful command-line interface tool that allows users to efficiently interact with the file system through simple, customizable commands. Developed using C++ and object-oriented programming (OOP) principles, this project aims to provide a modular, maintainable, and scalable solution that enhances file management capabilities.

Features

  • Read Files: Display the contents of a text file.
  • Write Files: Write contents to a text file.
  • Change Directories: Navigate to a specified directory.
  • Move to Parent Directory: Ascend to the parent directory.
  • Copy Files: Duplicate a file from one location to another.
  • Create Directory: Establish a new directory.
  • Rename Files: Rename files or directories.
  • List Directory: View the contents of a directory.
  • Delete Files: Remove specified files.
  • Search Files: Locate files within the file system.
  • Error Handling: Implement robust error handling and exception management.
  • Memory Management: Ensure efficient memory allocation and deallocation.
  • Command Customization: Allow users to customize command keywords.

Requirements

  • IDE Compatibility: Compatible with popular IDEs such as Code::Blocks and Visual Studio Code (VSCode).
  • C++ Version: Requires a C++17 supported compiler/interpreter to utilize the filesystem library.
  • File Structure:
    • Header Files:
      • command.h
      • customize.h
      • display.h
      • filemanager.h
    • Main File:
      • Project.cpp

How to Run the Program

To run the program, simply compile and execute the Project.cpp file.

Disclaimer

The author is not responsible for any loss of files. Please use this program at your own risk.

License

This project is licensed under the MIT License.

Acknowledgements

Special thanks to Lahore Garrison University, Department of Computer Sciences, and our instructors Sir Munawar Ahmad and Sir Muhammad Asad Ullah Khalid for their guidance and support.

Authors

About

A command line interface using C++ with OOP for interacting with files on the Operating system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages