Skip to content

A File explorer, which runs on terminal with simple cursor based UI. Works in Normal mode (for Navigation) and Command mode (for executing shell commands).

Notifications You must be signed in to change notification settings

naman14310/File_Explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Terminal based File Explorer - TFX

A File explorer application which will run on terminal with simple cursor based UI (which can be controlled by keyboard)

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 root of the application is the directory where the application will start.

How to execute

Open terminal and enter following commands :

  1. For Compilation : g++ main.cpp
  2. For Execute : ./a.out

How to switch between Two Modes

Press : to switch from Normal Mode to Command Mode. Press Esc to switch from Command Mode to Normal Mode

Command Support

  1. Copy - copy <source_file(s)> <destination_directory>

  2. Move - move <source_file(s)> <destination_directory>

  3. Rename - rename <old_filename> <new_filename>

  4. Create File - create_file <file_name> <destination_path>

  5. Create Directory - create_dir <dir_name> <destination_path>

  6. Delete File - delete_file <file_path>

  7. Delete Directory - delete_dir <dir_path>

  8. Goto - goto

  9. Search - search <file_name> or search <directory_name>

Assumptions

  1. Absolute path wrt application root will be given
  2. Terminal Resizing is not handeled so please do not resize the terminal after code execution (Full window size is recommended)

About

A File explorer, which runs on terminal with simple cursor based UI. Works in Normal mode (for Navigation) and Command mode (for executing shell commands).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages