/SimpleFileManager

The Simple C++ File Manager App is a command-line tool designed to provide basic file and directory management functionalities. Users can interact with the application to create directories, files, manage file contents, move/rename, copy, and remove directories/files, navigate through the file system and file searching.

Primary LanguageC++

Simple C++ File Manager

1. Introduction

The Simple C++ File Manager App is a command-line tool designed to provide basic file and directory management functionalities. Users can interact with the application to create directories, files, manage file contents, move/rename, copy, and remove directories/files, and navigate through the file system.

2. Installation

To use the Simple C++ File Manager App, follow these steps:

Clone the GitHub repository:

git clone https://github.com/your-username/simple-file-manager.git

Navigate to the project directory:

cd file_manager

Compile the source code:

make

Run the application:

./file_manager

3. Usage

Creating a Directory

To create a new directory, use the following command:

mkdir <directory_name>

Creating a File

To create a new file, use the following command:

touch <file_name>

Removing a Directory/File

To remove a directory, use the following command:

rmdir <directory_name>

To remove a file, use the following command:

rm <file_name>

Moving/Renaming a File/Directory

To move or rename a file or directory, use the following command:

mv <name> <destination_path>

Copying a File/Directory

To copy a file or directory, use the following command:

cp <source_path> <destination_path>

Searching for a File

To search for a file in the current directory and its subdirectories, use the following command:

find <file_name>

Listing Files in Current Directory

To list all files and directories in the current directory, use the following command:

ls

Changing Current Directory

To change the current directory, use the following command:

cd <new_directory>

Printing File Contents

To print the contents of a file, use the following command:

read <file_name>

Writing to a File

To write to a file, use the following command:

write "<content>" > <file_name>

4. Contributing

Contributions to this project are welcome! To contribute, follow these steps:

Fork the repository on GitHub.
Create a new branch for your feature or bug fix.
Implement your changes and commit them.
Push your changes to your forked repository.
Submit a pull request to the original repository.

5. License

The Simple C++ File Manager App is released under the MIT License.

This documentation provides an overview of the basic functionalities of the Simple C++ File Manager App.

GitHub Repository: https://github.com/your-username/simple-file-manager