Skip to content

IgorNascAlves/HD-virtual

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Virtual File System Project

This project implements a virtual file system with various commands to manage files and directories.

Introduction

The Virtual File System Project aims to provide users with a simulated file system environment where they can create, manage, and interact with files and directories. It includes features such as creating virtual hard drives, navigating directories, creating and deleting files, copying and moving files between directories, and more.

Features

  • Create and manage virtual hard drives
  • Navigate directories
  • Create, delete, and rename files and directories
  • Copy and move files between directories
  • Display file contents
  • Format virtual hard drives
  • Provide help documentation for available commands

Usage

To use the project, follow these steps:

  1. Compile the source code.
  2. Run the executable file.
  3. Enter commands at the prompt to interact with the virtual file system.

Commands

The following commands are available:

  • createhd: Create a new virtual hard drive.
  • typehd: Display the content of a virtual hard drive.
  • selecthd: Select a virtual hard drive.
  • dirhd: Display a list of created virtual hard drives.
  • formathd: Format a virtual hard drive.
  • cd: Change directory.
  • cls: Clear the console screen.
  • create: Create a new file.
  • del: Delete a file.
  • dir: Display a list of files in a directory.
  • mkdir: Create a new directory.
  • type: Display the content of a file.
  • statushd: Display properties of a virtual hard drive.
  • removehd: Remove a virtual hard drive.
  • copyfrom: Copy a file from the real hard drive to the virtual hard drive.
  • copyto: Copy a file from the virtual hard drive to the real hard drive.
  • renamedir: Rename a directory.
  • copy: Copy files between directories.
  • help: Display help information for commands.
  • move: Move a file or directory.
  • rename: Rename a file.
  • rmdir: Remove a directory.

For more detailed information on each command, use the help command followed by the command name.

Installation

No installation required. Simply compile the source code and run the executable.

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvement, please open an issue or submit a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages