From 59ebd771b9e39a4692ae2698d1e72d46ecea239a Mon Sep 17 00:00:00 2001 From: Tam Maria Date: Sun, 10 Dec 2023 19:03:09 -0500 Subject: [PATCH] finished --- .idea/compiler.xml | 1 + .idea/misc.xml | 1 - FileManager.md | 15 +++++++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 3f507c9..9ba2384 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -7,6 +7,7 @@ + diff --git a/.idea/misc.xml b/.idea/misc.xml index accd629..8f122be 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ - diff --git a/FileManager.md b/FileManager.md index 1e01e92..2ed82c1 100644 --- a/FileManager.md +++ b/FileManager.md @@ -1,4 +1,19 @@ # FileManager An amazingly useless tool! +Write a short summary of what each command does and +how it is used. Give a real example of what the user +would see using each command. Edit the Help for FileManager +file with your explanatory text. + +## Possible Commands +- `help` : outputs the possible commands to the console. +- `list` : outputs the files found in a folder. If there are no files, a message saying the folder is empty will print out. +- `info` : outputs the name, absolute and relative path, size, creation and modified time of a file or folder. +- `mkdir` : creates a folder at the specified path. If there's an illegal character, there will be a message saying so. Otherwise, a success or failure message will print out. +- `rename` : renames an existing file/folder. A user would be prompted to enter an existing file/folder name and the new name. If the file name already exists, there will be a message saying so. Otherwise, a success or failure message will print out. +- `copy`, `move` : copies and moves a given file/folder to a new specified destination. A user would be asked for the path of the file/folder and a destination path. If the move was successful, there would be a message saying so. If not, it'll say moved or copy failed. +- `delete` : deletes file/folder. A user would see a message saying a file/folder was successfully deleted or that it couldn't be deleted. +- `quit` the file manager shell +- In the case of invalid commands, a message will print out saying so.