rsre-0.2.4 is not a library.
Rust renamer
Rsre it's tool to rename file/directory Zero dependencies 👀
Requirements
- Rust Nightly
Install
With Cargo
# Install nightly rust
# Install Rsre with nightly rust
From source
# Install nightly rust
# Clone the repo
# Change directory to it
# Build it with cargo
# Move the binary to `/usr/bin` (Unix like system) (need permission to move in `/usr/bin`)
# You can change binary directory to `~/.cargo/bin` if its exists and it's in `$PATH`
# Print the version
Why
because i don't want to write full path of the new name 😶
Using
USAGE:
rsre FILE/DIRECTORY NEW_FULL_NAME
OPTIONS:
-h, --help Print help information
-V, --version Print version information
Example
Long path
# with mv
mv ../../foo/bar/bat/foo.txt ../../foo/bar/bat/bar.txt
# with rsre
rsre ../../foo/bar/bat/foo.txt bar.txt
Single file
rsre bar.rs foo.rs