GithubHelp home page GithubHelp logo

imcl's Introduction

<<<<<<< HEAD

In-Memory File Manager - Java Application

Overview This Java application serves as an in-memory file manager, allowing users to perform basic file system operations such as listing files and directories (ls), creating directories (mkdir), creating files (touch), deleting files or directories (rm), and displaying the current directory. The file system operations are performed in-memory, providing a lightweight and fast alternative.

Prerequisites

Java Development Kit (JDK) installed on your system A terminal or command prompt for running the application

Getting Started

Clone the Repository:

git clone https://github.com/msbeigiai/imcl.git
cd imcl

Compile the Java Files:

cd src/main/java
javac Main.java

Run the Application:

java Main

Usage

The application supports the following commands:

  • List Files and Directories:
ls
  • Create Directory:
mkdir directory_name
  • Create File:
touch file_name
  • Delete File:
rm -file_or_directory_name
  • Delete Directory:
rm directory_name

Example usage:

$ ls
- No files or directories -

$ mkdir documents
$ touch README.md
$ ls
documents/  
README.md

$ rm -README.md
$ ls
documents/

$ touch report.txt
$ ls
documents/
report.txt

$ exit

Contributing

If you find any issues or have suggestions for improvement, feel free to create an issue or submit a pull request. Contributions are welcome!

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

imcl's People

Contributors

msbeigiai avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.