用于重置所有文件、文件夹、子文件和文件夹的权限的python包
chmod-reset的Python项目详细描述
python包递归重置chmod
安装
使用pip:
$ pip install chmod_reset
使用source files:
$ git clone https://github.com/seignovert/python-chmod-reset.git $ cd chmod_reset ; python setup.py install
用法
reset-chmod -h # For help reset-chmod [-q] <FOLDER_NAME> # [-q] `quiet` optional
>>>importchmod_reset>>>chmod_reset.scan('.')