Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

multitasker

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multitasker

A utility for executing commands in multiple directories.

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

multitasker

multitasker is a utility for executing commands in multiple directories.

Installation

npm -g install multitasker

Usage

multitasker keeps track of directories via tags you define. Commands can then be executed in the tagged directories.

Managing tags

Tagging directories is easy:

$ multitasker tag work # if no directories are provided, the current directory is used
$ multitasker tag work ~/work/client ~/work/server # or you can specify directories

You can view your tagged directories via multitasker tags and un-tag directories using multitasker untag (or delete tags altogether using multitasker rmtag). Tags are stored in ~/.multitasker.conf.

Executing commands

Commands are executed via multitasker exec:

$ multitasker exec work git pull # runs "git pull" in all directories tagged "work"

By default, the commands are executed in each directory simultaneously. If desired, a max number of concurrent executions can be defined with the -m or --max flag. For example, this may be useful for commands that involve SSH connections (like git pull), for which there is a limit of simultaneous connections for a given machine.

Commands can also be run sequentially in each tagged directory, with the -s or --serial flag. This may be useful for memory- or CPU-intensive processes.

Help and options

For more options, run multitasker -h or multitasker <subcommand> -h.

Keywords

FAQs

Package last updated on 22 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc