fuga-0.1.1 is not a library.
Visit the last successful build:
fuga-1.1.0
๐ฆ FUGA ๐ฆ

A CLI tool to operate files or directories in 2 steps.
ๆฅๆฌ่ชใฎREADMEใฏใใกใ
๐ฆ DESCRIPTION
fugais a CLI tool that performs file operations in two steps.- Developed as an alternative to commands like
mv,cp, andln. - Mark files or directories to operate on using
fuga mark, and then perform copy or move operations after navigating to another directory.
๐ฆ INSTALLATION
Pre-built Binaries
-
Pre-built binaries for the following architectures are available on releases.
- aarch64-apple-darwin (Mac - Apple Chip)
- x86_64-apple-darwin (Mac - Intel Chip)
- x86_64-unknown-linux-gnu (Linux - Intel Chip)
-
Place the binary for your architecture in a directory included in your system's PATH.
Build with Cargo
- You can install
fugaby building it using thecargocommand.
cargo install fuga
Verify Installation
- If the installation is successful, the version information can be displayed using the following command:
$ fuga -V
fuga v0.1.1
๐ฆ USAGE
A CLI tool to operate files or directories in 2 steps.
Usage: fuga <COMMAND>
Commands:
mark Set the path of the target file or directory
copy Copy the marked file or directory
move Move the marked file or directory
link Make a symbolic link to the marked file or directory
completion Generate the completion script
version Show the version of the tool
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
Setting the Target File
- Mark the file or directory you want to operate on with
fuga mark <TARGET>.
$ fuga mark target_file.txt
โ
: ๐ target_file.txt has marked.
- To check the currently marked file or directory, use
fuga mark --show.
$ fuga mark --show
โน๏ธ : ๐ /home/user/path/to/file/target_file.txt
- To unmark a file or directory, use
fuga mark --reset.
$ fuga mark --reset
โ
: The marked path has reset.
File Operations
Three file operations are possible: Copy, Move, and Symbolic Link creation.
Copy
- Navigate to the destination directory and use
fuga copyto copy the marked file or directory.
$ cd test_dir_copy
$ fuga copy
โน๏ธ : Start copying ๐ target_file.txt from /home/user/path/to/file/target_file.txt
โ
: ๐ target_file.txt has copied.
- You can also specify the destination directory or file name.
$ fuga copy test_dir_copy
โน๏ธ : Start copying ๐ test_dir_copy/target_file.txt from /home/user/path/to/file/target_file.txt
โ
: ๐ test_dir_copy/target_file.txt has copied.
$ fuga copy copy.txt
โน๏ธ : Start copying ๐ copy.txt from /home/user/path/to/file/target_file.txt
โ
: ๐ copy.txt has copied.
Move
- Navigate to the destination directory and use
fuga moveto move the marked file or directory.
$ cd test_dir_move
$ fuga move
โน๏ธ : Start moving ๐ target_file.txt from /home/user/path/to/file/target_file.txt
โ
: ๐ target_file.txt has moved.
- Similar to copying, you can specify the destination directory or file name.
$ fuga move test_dir_move
โน๏ธ : Start copying ๐ test_dir_move/target_file.txt from /home/user/path/to/file/target_file.txt
โ
: ๐ test_dir_move/target_file.txt has moved.
$ fuga move move.txt
โน๏ธ : Start moving ๐ move.txt from /home/user/path/to/file/target_file.txt
โ
: ๐ move.txt has moved.
Symbolic Link
- Navigate to the directory where you want to create a symbolic link and use
fuga linkto create a symbolic link to the marked file or directory.
$ cd test_dir_link
$ fuga link
โน๏ธ : Start making symbolic link ๐ target_file.txt from /home/user/path/to/file/target_file.txt
โ
: ๐ target_file.txt has made.
- You can also specify the destination directory or file name for the symbolic link.
$ fuga link test_dir_link
โน๏ธ : Start making symbolic link ๐ test_dir_link/target_file.txt from /home/user/path/to/file/target_file.txt
โ
: ๐ test_dir_link/target_file.txt has made.
$ fuga link link.txt
โน๏ธ : Start making symbolic link ๐ link.txt from /home/user/path/to/file/target_file.txt
โ
: ๐ link.txt has made.
Generating Completion Scripts
- Use
fuga completion <shell>to output a script for command completion. It supports the following five shells:- bash
- elvish
- fish
- powershell
- zsh
# For fish
$ fuga completion fish > ~/.config/fish/completions/fuga.fish