Skip to content

Serenity0204/Little-File-System

Repository files navigation

Little File System

A file system simulator that built with C++ SFML that simulates common operations on windows file system, the user can select the terminal by clicking the terminal, and type in different commands to achieve desired behaviours, the custom part of command is quoted {}, and the command is in "", the user can type:

  • "lfs touch {filename}.txt" to create a file
  • "lfs mkdir {foldername}" to create a folder
  • "lfs cd {foldername}" to switch into the directory
  • "lfs back" to go back to the parent directory
  • "lfs ls" to list all of the folders and files under the current directory
  • "lfs rm {foldername} to remove the folder
  • "lfs open {filename}.txt" to open the file, and click the file to start entering text
  • "lfs save" to save the most recent opened file
  • "lfs del {filename}.txt" to delete the file
  • "lfs clear" to clear all the folders and files

Demo

use this to generate image link: https://postimages.org/

  • directory tree directory-tree.png

  • touch touch.png

  • mkdir mkdir.png

  • cd cd.png

  • back back.png

  • ls ls.png

  • del del.png

  • rm rm.png

  • open open.png

  • after open after-open.png

  • save save.png

  • after save after-save.png

Design

Can be found in https://github.com/Serenity0204/Little_File_System/blob/master/design.txt

Todos

Can also be found in https://github.com/Serenity0204/Little_File_System/blob/master/design.txt

Features

  • has a directory tree that shows the files and folders in tree like format
  • has persistent storage that the files and folders will all be saved after closing the program, the data will remain when restart the program
  • supports complex file and folder operations like create, read, update, and delete
  • allows the user to switch between directories
  • includes an easy to use and interactive commandline that allows the user to get instant feedbacks
  • a file and folder terminal that will show the files and folders store

System Setup

To run this project, please follow the system requirements below.

Windows:

  • compiler: g++ 13.1.0
  • cmake: 3.20.0

SFML setup:

About

A file system simulator built using C++ SFML

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published