|
4 months ago | |
---|---|---|
source | 4 months ago | |
.gitignore | 5 months ago | |
Cargo.lock | 4 months ago | |
Cargo.toml | 4 months ago | |
LICENSE-Apache | 5 months ago | |
LICENSE-MIT | 5 months ago | |
README.md | 5 months ago | |
rustfmt.toml | 5 months ago |
Execute a command in specified directories recursively.
Precompiled binaries are available here.
git clone https://git.holllo.cc/Bauke/recursive-execute.git
cd recursive-execute
cargo build --release
mv target/release/recursive-execute ./
Make sure the file is executable, then run it with --help to see all available options.
chmod +x ./recursive-execute
./recursive-execute --help
pwd
.$ ./recursive-execute -d="source/" -d="target/" -c="pwd" --depth="1" --verbose
Outputs:
Executing "pwd" in "source/" (current depth 0), output:
/home/bauke/code/recursive-execute/source
Executing "pwd" in "target/" (current depth 0), output:
/home/bauke/code/recursive-execute/target
Executing "pwd" in "target/debug" (current depth 1), output:
/home/bauke/code/recursive-execute/target/debug
Executing "pwd" in "target/release" (current depth 1), output:
/home/bauke/code/recursive-execute/target/release
Executing "pwd" in "target/rls" (current depth 1), output:
/home/bauke/code/recursive-execute/target/rls
✓ Done!
Open-sourced with either the
at your option.