Skip to content
A simple file manager for Shaastra Code Darwin Contest
Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
dBins
.gitignore Simple class structure Sep 16, 2011
README.md
__main__.py
dDrive.py Small code optimizations Sep 17, 2011
dFile.py
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.