Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simple file manager for Shaastra Code Darwin Contest

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 dBins
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 __main__.py
Octocat-spinner-32 dDrive.py
Octocat-spinner-32 dFile.py
Octocat-spinner-32 dFolder.py
README.md

Darwin

A simple python file manager written for Shaastra's Code Darwin Contest.

How to use

  • Go to the directory
  • Type python . to start the program
  • You will have a hard drive which is sub class of folder
  • You can get help by typing help
  • Try out all the commands
  • You can even create your own custom command

Commands

 * help [COMMAND]
 * exit
 * cd [DIR]
 * mkdir [DIR]
 * cat [>] FILE
 * ls [-l] [DIR|FILE]
 * rm (DIR|FILE)
 * cp SOURCE DEST
 * mv SOURCE DEST

Writing a file

You can write a file using cat command

  • Type cat > /path/to/file
  • Enter your text
  • Type Ctrl-D to end file writing
  • cat /path/to/file to see your text

Contact

Pavan Kumar Sunkara

Something went wrong with that request. Please try again.