moove is a command line tool for renaming and moving files and directories using a text editor.
π¨ Features | π Usage | π₯ Getting started | π Contributing | π License
- Displays file and directory names like
lsin a text editor, and renames or moves them exactly as you edit them. - Supports Linux, Mac, and Windows.
- Supports wildcard patterns including Windows.
- Default options can be specified as environment variable
MOOVE_OPTIONS.
- Given paths have to be convertible to UTF-8.
- Collisions are detected as much as possible, but not perfectly. Does not verify all paths such as hard links and symbolic links.
- Operations are validated case-insensitively whatever the platform is.
Usage: moove [OPTIONS] [PATHS]...
Arguments:
[PATHS]... Paths to move [default: .]
Options:
-u, --dry-run Dry-run option
-v, --verbose Verbose output
-q, --quiet No output to stdout/strerr even if error
-a, --absolute Handle as absolute paths
-d, --directory Directories themselves, not their contents
-s, --sort Sort files in natural order
-w, --with-hidden Include hidden files
-e, --exclude-pattern <PATTERN> Exclude regular expression pattern
-c, --copy Copy without moving
-o, --oops Abort in case of collision
-h, --help Print help
-V, --version Print version-
Download pre-compiled binaries.
-
Extract a single binary file from the archive file. For example,
tar xaf moove-linux-x86_64.tar.gz
-
(Recommended) Specify text editor configuring environment variable
VISUALorEDITOR. For example,export EDITOR=code
cargo install mooveFollowings are used to build.
- cargo-make as the task runner
- cargo-zigbuild to build for multiple platforms
- Install Zig according to the Zig document.
- Run following commands.
cargo install cargo-make
cargo make setupTo build binaries for supported platforms,
cargo make- Remove operation
- Package for various platforms
- Overwrite option
- Exclude .gitignore option
- Recursive option
- Maximum depth option
- Depth option
- Ignore case in case of Windows
- Log and undo
Licensed under either of
- Apache License, Version 2.0 or https://www.apache.org/licenses/LICENSE-2.0
- MIT license or https://opensource.org/licenses/MIT
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Β© 2023 Urin