/SFM

File System Stored in Memory

Primary LanguagePythonMIT LicenseMIT

SFM ("Simulated File System")

SFM is a File System created in memory made with Python.

Directories will be green, meaning you can cd into them.
Files will be white, meaning their an endpoint.

Program Usage

Make a directory:

mkdir "DirectoryName"

Make a file:

touch "FileName"

List content in current directory:

ls

Open Directory:

cd "DirectoryName"

Shows commands with their actions:

help

Shows commands and how to use them:

usage

Set-up

If using in your own interpreter:

Copy code from SFM.py and paste into your interpreter for use.

If using in Linux/Ubuntu:

git clone https://github.com/Raymond-Lind/SFM.git
cd SFM
python3 SFM.py

Important

This is a File System stored in memory. Meaning any directories or files made in the program will disappear after the program is closed. Users should remember this throughout the duration of the script.

Extra

If you want to have a simpler version of code without advanced user features or don't enjoy the colors in code, you can use SFM_nocolor.py

Enjoy!

Created by: Raymond Lind