Crates.io | rasch |
lib.rs | rasch |
version | 0.1.1 |
source | src |
created_at | 2022-08-09 19:05:54.518271 |
updated_at | 2022-08-09 22:44:26.109566 |
description | Rust CLI used to execute any terminal commands selecting multiple files inside a directory. It uses easy to remember filters and settings. |
homepage | https://github.com/sbritorodr/rasch |
repository | |
max_upload_size | |
id | 641969 |
size | 26,100 |
Automatize your commands easily and blazingly fast™️
This is in alpha, it might not work properly.
Rust CLI used to execute any terminal commands selecting multiple files inside a directory. It uses easy to remember filters and settings. (rust + batch)
Also, you can choose not to select files and only loop n times a command with -l <NUMBER>
. This is
useful for something like repeating "echo rash"
n times to a maximun of 255.
cargo install rasch
You can access this info anytime with rasch -h
or --help
.
rasch [COMMAND] <OPTIONS>
For example, if you want to convert all files to mp4 in ffmpeg:
rs-batch "ffmpeg -i [i] -c:v libx264 [o]"
Wether [i]
is the input files and [o]
is the output files.
-h
or --help
: Displays output help.-V
or --Version
: Displays version info.-v
or --verbose
: Displays all diagnosis and steps useful for debugging or diagnostics.-l
or loop-times
: Disables file detection and loops any given number of times any command. Useful if you only want to spam a command to a maximum of 255 times. By default is disabled (0
).-p
or --path
: Selects input path. By default is the current one used by the terminal.-o
or --output
: Select output folder.-f
or --file
: Select file extension. By default selects all files in the directory.-k
or keep-ext
: Keep extension files in the output files. Disabled by default so you can add the extension ([o].ogg
) in the command.git clone http://github.com/sbritorodr/rasch
cargo build -r
git clone http://github.com/sbritorodr/rasch
nightly
branch.From time to time, nightly will be merged to the stable branch.
execute
crate