This File Explorer is compatible with any UNIX based Operating System.
Use the BASH Terminal to install C++.
sudo apt-get install g++
Compile main.cpp
using
g++ main.cpp
Then Execute using
./a.out
This application will work in two modes :
1 .Normal Mode
: used to explore the current directory and navigate the filesystem.
2 .Command Mode
: used to enter and execute shell commands.
The Home of the application is the directory where the application will start.
Root will be System Root i.e. /home/username/
Press :
to switch from NORMAL MODE to COMMAND MODE.
Press esc
to switch from COMMAND MODE to NORMAL MODE.
Unless a Directory is Specified in the end of command. All commands will work on Current Working Directory.
-
Copy
- copy <source_file(s)> <destination_directory> or <source_directory(s)> <destination_directory> -
Move
- move <source_file(s)> <destination_directory> -
Rename
- rename <old_filename> <new_filename> -
Create File
- create_file <file_name> <destination_path> -
Create Directory
- create_dir <dir_name> <destination_path> -
Delete File or Directory
- delete <file_path> or <dir_path> (<directory_to_delete_in>) -
Goto
- goto -
Search
- search <file_name> or <directory_name> (<directory_to_search_in>)
Number of Directory Contents visible at a time can be changed by changing MAX
macro in the code.
↑
↓
to Navigate the contents of the Directory←
→
to Navigate between previously visited Directories.w
a
s
d
to freely move the cursor and move Display Window to unseen contents.BACKSPACE
to go one Level Up the Current Working Directory.h
to goto HOME Directory.ENTER
to Open a Directory or a File currently pointed by the Cursor.q
to Quit the application.
Code credits for this code go to Aman Khandelwal