edgauthier
Nov 18, 2012 - 01:15
The start of a simple shell for basic file management. Currently supports the following commands (no support for any options at this point):
- ls
- pwd
- cd
- mkdir
- rm (handles both directories and files)
By default, the script tries to protect the user from altering files outside of the Documents directory. To disable these preventative checks, add a setting to the config dict:
config = {'allow_unsafe': True}
https://gist.github.com/4063716