📦 FUGUE 📦

A CLI tool to operate files or directories in 2 steps.

📦 DESCRIPTION

📦 INSTALLATION

$ cargo install fugue-box

$ fugue -V fugue v0.0.1

📦 USAGE

``` USAGE: fugue

OPTIONS: -h, --help Print help information -V, --version Print version information

SUBCOMMANDS: copy Copy the marked file or directory help Print this message or the help of the given subcommand(s) link Make a symbolic link to the marked file or directory mark Set the path of the target file or directory move Move the marked file or directory version Show the version of the tool ```

操作対象ファイルの設定

$ fugue mark target_file.txt ✅ : 📄 target_file.txt has marked.

$ fugue mark --show ℹ️ : 📄 /home/user/path/to/file/target_file.txt

$ fugue mark --reset ✅ : The marked path has reset.

ファイル操作

以下の3つのファイル操作が可能です。

コピー

``` $ cd testdircopy

$ fugue copy
ℹ️ : Start copying 📄 targetfile.txt from /home/user/path/to/file/targetfile.txt ✅ : 📄 target_file.txt has copied. ```

``` $ fugue copy testdircopy ℹ️ : Start copying 📄 testdircopy/targetfile.txt from /home/user/path/to/file/targetfile.txt ✅ : 📄 testdircopy/target_file.txt has copied.

$ fugue copy copy.txt ℹ️ : Start copying 📄 copy.txt from /home/user/path/to/file/target_file.txt ✅ : 📄 copy.txt has copied. ```

移動

``` $ cd testdirmove

$ fugue move
ℹ️ : Start moving 📄 targetfile.txt from /home/user/path/to/file/targetfile.txt ✅ : 📄 target_file.txt has moved. ```

``` $ fugue move testdirmove ℹ️ : Start copying 📄 testdirmove/targetfile.txt from /home/user/path/to/file/targetfile.txt ✅ : 📄 testdirmove/target_file.txt has moved.

$ fugue move move.txt ℹ️ : Start moving 📄 move.txt from /home/user/path/to/file/target_file.txt ✅ : 📄 move.txt has moved. ```

シンボリックリンク

``` $ cd testdirlink

$ fugue link
ℹ️ : Start making symbolic link 📄 targetfile.txt from /home/user/path/to/file/targetfile.txt ✅ : 📄 target_file.txt has made. ```

``` $ fugue link testdirlink ℹ️ : Start making symbolic link 📄 testdirlink/targetfile.txt from /home/user/path/to/file/targetfile.txt ✅ : 📄 testdirlink/target_file.txt has made.

$ fugue link link.txt ℹ️ : Start making symbolic link 📄 link.txt from /home/user/path/to/file/target_file.txt ✅ : 📄 link.txt has made. ```