list prints out all the files in the directory it is provided.
You can enter . to have it print the current directory.
This prints out all files in the directory, even those considered hidden files.
Sample output:
bin
foo
lib
bar
info prints out information about the given directory.
It includes name, paths, size, and created/last modified dates.
Sample output:
Name: test
Absolute path: /Users/Name/Documents/dev/JavaFileManager/test
Relative path: test
Size: 192
Created: 17. March 2023. 15:34:35
Last Modified: 17. March 2023. 15:34:35
mkdir makes a new directory at the specified location.
Sample output:
Created a folder called salad
rename changes the name of a specified file or folder.
Sample output:
Rename succesful.
copy makes a copy of the specified file at the target location.
Sample output:
Copying is successfuly finished.
move moves a specified file to a different location.
Sample output:
Moving is successfuly finished.
delete deletes a file or folder at any location.
there is no are you sure prompt so use this command with caution.
Sample output:
Folder successfully deleted!
quit ends the file manager.
Sample output:
You're exiting File Manager.