Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Latest commit

 

History

History
56 lines (37 loc) · 943 Bytes

README.md

File metadata and controls

56 lines (37 loc) · 943 Bytes

run-subdir

Node package for running command line asynchronously in all subdirectories.

Installation

Using NPM:

npm install -g run-subdir

Usage

After installation and cd into your parent directory, prefix your command line by rsd or run-subdir to run the command in all child subdirectories.

Assume you have these files and directories:

~/test/
    dir1/
        .git/
    dir2/
        .git/
    dir3/
        .git/
    file.txt

When you run:

cd ~/test/
rsd git status

or:

cd ~/test/
run-subdir git status

It will run the given command git status in all subdirectories of ~/test/, in each one of: dir1, dir2, dir3.

Which will output:

screenshot

License

MIT

Credits

This project is forked from @tatsuyaoiw's project git-pull-all.