Skip to content

kazhuravlev/repeat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

repeat

This is a very simple tool that allow you to repeat some command several times.

Installation

go install github.com/kazhuravlev/repeat/cmd/repeat@latest

Usage

Repeat curl https://example.com 10 times sequentially.

repeat 10 curl https://example.com

Repeat date 10 times sequentially with 5 seconds delay between each repeat.

repeat 10 5s date

Corner cases

Repeat non-exists/bad program will repeat it even when not exists.

repeat 10 not-exists-program

About

Repeat shell command several times

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages