跳转到主要内容

Walker在多个目录上执行相同的命令。

项目描述

https://badge.fury.io/py/walker.png https://travis-ci.org/darylyu/walker.png?branch=master https://pypip.in/d/walker/badge.png

Walker在多个目录上执行相同的命令。

安装

Walker可以从PyPI安装。

$ pip install walker

用法

Walker只获取当前目录的直接子目录。

以下是一个示例,显示了不同git仓库的状态

$ walker git status

walker: in /home/dyu/src/couchdb-lucene
# On branch master
nothing to commit (working directory clean)

walker: in /home/dyu/src/dotfiles
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       modified:   gitignore_global
#
no changes added to commit (use "git add" and/or "git commit -a")

walker: in /home/dyu/src/es
fatal: Not a git repository (or any of the parent directories): .git

以下是一个示例,显示了磁盘使用情况

$ walker du -cksh

walker: in /home/dyu/src/cookiecutter
2.1M    .
2.1M    total

walker: in /home/dyu/src/couchdb-lucene
145M    .
145M    total

walker: in /home/dyu/src/dotfiles
588K    .
588K    total

walker: in /home/dyu/src/es
245M    .
245M    total

历史

0.0.2 (2014-09-13)

  • 一些清理和半心半意的文档。

0.0.1 (2014-09-13)

  • 首次在PyPI上发布。

项目详情


下载文件

为您的平台下载文件。如果您不确定选择哪个,请了解更多关于安装软件包的信息。

源分发

walker-0.0.2.tar.gz (11.7 kB 查看哈希值)

上传于 源代码

支持者