Giter Club home page Giter Club logo

file-explorer-application's Introduction

Terminal Based File Explorer

This File Explorer is compatible with any UNIX based Operating System.

Installation and Execution

Use the BASH Terminal to install C++.

sudo apt-get install g++

Compile main.cpp using

g++ main.cpp

Then Execute using

./a.out

Modes

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/

Switching Between Modes

Press : to switch from NORMAL MODE to COMMAND MODE. Press esc to switch from COMMAND MODE to NORMAL MODE.

Command Mode

Unless a Directory is Specified in the end of command. All commands will work on Current Working Directory.

  1. Copy - copy <source_file(s)> <destination_directory> or <source_directory(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 or Directory - delete <file_path> or <dir_path> (<directory_to_delete_in>)

  7. Goto - goto

  8. Search - search <file_name> or <directory_name> (<directory_to_search_in>)

Normal Mode

Number of Directory Contents visible at a time can be changed by changing MAX macro in the code.

  1. to Navigate the contents of the Directory
  2. to Navigate between previously visited Directories.
  3. w a s d to freely move the cursor and move Display Window to unseen contents.
  4. BACKSPACE to go one Level Up the Current Working Directory.
  5. h to goto HOME Directory.
  6. ENTER to Open a Directory or a File currently pointed by the Cursor.
  7. q to Quit the application.

Code credit

Code credits for this code go to Aman Khandelwal

file-explorer-application's People

Contributors

wolfblunt avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.