Code Monkey home page Code Monkey logo

rushitjasani / terminal-file-explorer Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 54 KB

A terminal based file explorer that runs in 2 mode: View and Command. View mode supports viewing and traversing directories and opening files. Command mode supports various operations like create, delete, copy, move files and directories. Details in readme file.

C++ 95.70% C 3.37% Makefile 0.93%
os terminal file-operations navigation linux command-line-tool

terminal-file-explorer's Introduction

Terminal Based File Explorer

A file explorer for linux systems that runs on terminal

Compiling

  • run make in the source code directory to compile.

Running

* run ./term

It will open explorer in current folder

* run ./term <path_to_directory>

It will open explorer in specified folder

Commands

  • up, down, left, right, backspace, h keys work as described in assignment. Also 'q' can be used to quit the program.
  • : can be used to get into command mode. Bottom line would be available to right command.
  • After running one command, the bottom line gets cleared and is ready to accept more commands.
  • To exit from command mode : ESC
  • To exit from normal mode(project): press 'q' only(No control signals will work in termination).

Assumptions

  • for files containing space in name, use \ as escape seq. eg to create folder named "Rushit Jasani" in Home dir, type : create_dir Rushit\ Jasani ~
  • preferable to open in full size terminal. if one record spans over more than one line then navigation won't work correctly.
  • if path length is more than 115 to 120 char then navigation may not work properly.
  • in command mode, to edit the command, use backspace only.
  • if ENTER is pressed on some file and if there is no default application found then there will be no movement.

terminal-file-explorer's People

Contributors

rushitjasani 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.