Skip to content

Command to execute command N times

Notifications You must be signed in to change notification settings

oz-dev-v0/ntimes

 
 

Repository files navigation

ntimes

Command to execute command N times

Usage

$ ntimes 3 -- echo foo bar baz
foo bar baz
foo bar baz
foo bar baz

Set parallel degree of execution (-p)

$ ntimes 10 -p 3 -- sh -c 'echo "Hi!"; sleep 1; echo "Bye"'

Author

Yuya Takeyama

License

The MIT License

About

Command to execute command N times

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%