Skip to content

Console based file explorer with Normal and Command Modes

Notifications You must be signed in to change notification settings

kbbhatt04/File_Explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

File_Explorer

Console based file explorer with Normal and Command Modes using System Calls

Normal Mode (default mode):

Used to explore the current directory and navigate the filesystem.

It displays a list of directories and files in the current folder with its size, ownership, permissions and last modified datetime.

It handles scrolling through up and down arrow keys.

Enter key is used to goto the selected directory or open the file in its default application.

Left and Right arrow key takes user to previously visited directory/next directory.

Backspace key takes user to parent directory.

"h" key takes user to home directory.

"q" key quits the program.

":" key takes user to Command Mode.

Command Mode:

Used to enter shell commands.

Commands:

Copy: copy <source_file(s)> <destination_directory>

Move: move <source_file(s)> <destination_directory>

Rename: rename <old_filename> <new_filename>

Create File: create_file <file_name(s)> <destination_path>

Create Directory: create_dir <dir_name(s)> <destination_path>

Delete File: delete_file <file_path>

Delete Directory (Recursively): delete_dir <dir_path>

Goto: goto

Search: search

Quit: quit

ESC key is used to go back to Normal Mode

Demonstration

file_explorer_demo

About

Console based file explorer with Normal and Command Modes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages