FileMan is a File Manager to view files and folders
Compile:
mvn compile
Run:
mvn exec:java
will print the files and folders in the home directory ($HOME) to Standard Output.
The user can then input a command:
.will toggle hidden files~will move to the user's home directoryborpwill move to the parent directorycwill copy a file to another directorydwill create a new directoryfwill create a new filehwill display these input commandsmwill move a file to another directoryqwill end the programrwill rename a fileuwill unzip a zip archive (TODO)xwill WARNING: PERMANENTLY delete a filezwill zip files to a zip archive (TODO)1will move to the subdirectory at index 1 (or any number entered) given it is a directory
An optional command line argument can be given to view (READ-ONLY) a user's directories on a web server at http://localhost:8080
mvn exec:java -Dexec.args=-s
To clean up artifacts created by a maven build:
mvn clean
Log4j logs are saved to logs/fileman.log
- Toggling hidden files
- Changing directories
- Creating files
- Deleting files
- Compressing and uncompressing files
- Renaming files
- Moving files
- Copying files
- Creating folders
- Displaying files in sorted order
- Implement a server to allow for (read-only) access
- Unit tests
- Logging
- Cover edge causes causing program to crash