Crates.io | lanb |
lib.rs | lanb |
version | 0.1.1 |
source | src |
created_at | 2023-12-02 18:41:39.680821 |
updated_at | 2024-01-20 12:12:55.371876 |
description | Create symbolic links and hard links. |
homepage | |
repository | https://github.com/p1486/rwutils.git |
max_upload_size | |
id | 1056329 |
size | 24,169 |
Run the following Cargo command:
cargo install lanb
Or download prebuilt binary from the GitHub release page
To create symbolic link foo
-> bar
:
lanb foo bar
If bar is a directory, this will create foo
-> bar/the_name_of_foo
.
If you specified three files or more, create symbolic link nth
-> last/name_of_nth_file
:
lanb foo bar baz
If baz is not a directory, return error.
-b
, --backup
- Make backup of each existing destination file-s
, --suffix <SUFFIX>
- Override the usual backup suffix [defalt: ~]-n
, --noninteractive
- Do not prompt whether to remove destinations-H
, --hardlink
- Make hard links instead of symbolic links-q
, --quiet
- Do not print name of each linked fileThis project is licensed under the MIT License and the Apache-2.0.