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

Node package for running command line asynchronously in all subdirectories.

License

Notifications You must be signed in to change notification settings

mohannadnaj-archive/run-subdir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Node package for running command line asynchronously in all subdirectories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published