Added perms plugin (#1752)

* Added perms plugin

* HTTPS -> HTTP for comment URL

* Added a README

* Updated TOF comment

* Pulled in updates by apjanke with minor tweaks
This commit is contained in:
Rory Hardy
2016-08-26 15:05:33 -05:00
committed by Marc Cornellà
parent deadc369bf
commit 2ab67382e7
2 changed files with 87 additions and 0 deletions

9
plugins/perms/README.md Normal file
View File

@@ -0,0 +1,9 @@
## Perms
Plugin to handle some unix filesystem permissions quickly
### Usage
* `set755` recursively sets all directories located within the current working directory and sub directories to octal 755.
* `set644` recursively sets all files located within the current working directory and sub directories to octal 644.
* `fixperms` is a wrapper around `set755` and `set644` applied to a specified directory or the current directory otherwise. It also prompts prior to execution unlike the other two aliases.