Skip to main content

Walker executes the same command on multiple directories.

Project description

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

Walker executes the same command on multiple directories.

Installation

Walker can be installed from PyPI.

$ pip install walker

Usage

Walker only gets the immediate children of the current directory.

Here is an example of it showing showing the status of different git repositories:

$ 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

Here is another example of it showing disk usage:

$ 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

History

0.0.2 (2014-09-13)

  • Some clean up and half-hearted docs.

0.0.1 (2014-09-13)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

walker-0.0.2.tar.gz (11.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page