diff --git a/Cargo.toml b/Cargo.toml index 116c56f..e80c408 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,11 +2,11 @@ name = "NameToUnix" version = "1.1.0" edition = "2021" -authors = ["Dieter Schlüter "] +authors = ["Dieter Schlüter "] description = "Ein Tool zum Anpassen von Verzeichnis- und Dateinamen an Linux-Konventionen" license = "MIT" readme = "README.md" -repository = "https://github.com/jamulix/NameToUnix" +repository = "https://kitux.de/forgejo/dschlueter/ntu" keywords = ["filesystem", "rename", "sanitize", "cli"] categories = ["command-line-utilities", "filesystem"] @@ -51,7 +51,7 @@ panic = "abort" # Kleinere Binärdatei durch Abbrechen bei Panic strip = true # Entfernen von Debug-Symbolen [package.metadata.deb] -maintainer = "Dieter Schlüter " +maintainer = "Dieter Schlüter " copyright = "2025, Dieter Schlüter" license-file = ["LICENSE", "4"] extended-description = """ diff --git a/README.md b/README.md index a8a14df..bf9d03b 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,11 @@ # NameToUnix -[![CI](https://github.com/jamulix/NameToUnix/workflows/CI/badge.svg)](https://github.com/jamulix/NameToUnix/actions) -[![Release](https://github.com/jamulix/NameToUnix/workflows/Release/badge.svg)](https://github.com/jamulix/NameToUnix/releases) -[![Version](https://img.shields.io/github/v/release/jamulix/NameToUnix)](https://github.com/jamulix/NameToUnix/releases) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) **Filename Repair Tool for Linux** · Binary: `ntu` +🔗 Repository: [kitux.de/forgejo/dschlueter/ntu](https://kitux.de/forgejo/dschlueter/ntu) + (german and english) A powerful command line tool for cleaning up file names according to Linux conventions. @@ -25,7 +24,7 @@ Ich benutze ein ähnliches Programm - ein Perl-Skript - seit ca. 15 Jahren. Es h Dies ist mein erstes Programm in Rust. (Bitte seid gnädig.) -(c) 2025 Dieter Schlüter +(c) 2025 Dieter Schlüter ## ⚠️ BREAKING CHANGE in v1.0.0 @@ -80,36 +79,21 @@ ntu -L -v ## Installation -### Option 1: Pre-built Binary (Recommended) +### Option 1: Pre-built Binary -Download the latest release for your platform from [GitHub Releases](https://github.com/jamulix/NameToUnix/releases): +Pre-built binaries are available from [Forgejo Releases](https://kitux.de/forgejo/dschlueter/ntu/releases). -```bash -# Linux x86_64 -wget https://github.com/jamulix/NameToUnix/releases/latest/download/ntu-linux-x86_64.tar.gz -tar xzf ntu-linux-x86_64.tar.gz -sudo mv ntu /usr/local/bin/ +Download and extract the appropriate binary for your platform, then move it to `/usr/local/bin/`. -# macOS Intel -wget https://github.com/jamulix/NameToUnix/releases/latest/download/ntu-macos-x86_64.tar.gz -tar xzf ntu-macos-x86_64.tar.gz -sudo mv ntu /usr/local/bin/ - -# macOS Apple Silicon (M1/M2) -wget https://github.com/jamulix/NameToUnix/releases/latest/download/ntu-macos-arm64.tar.gz -tar xzf ntu-macos-arm64.tar.gz -sudo mv ntu /usr/local/bin/ -``` - -### Option 2: Build from Source +### Option 2: Build from Source (Recommended) Die ausführbare Datei wird unter `target/release/ntu` erstellt. Du solltest sie mit 'sudo cp target/release/ntu /usr/local/bin/' kopieren. Sie ist dann für alle User verfügbar. Denke daran, die Konfiguationsdatei (s. u.) ebenfalls zu kopieren. Sie kann für jeden User individuell angepasst werden, wenn sie im home-Verzeichnis des Users liegt. The executable file is created under `target/release/ntu`. You should copy it with 'sudo cp target/release/ntu /usr/local/bin/'. It is then available for all users. Remember to copy the configuration file (see below) as well. It can be customized for each user individually if it is located in the user's home directory. ```bash -git clone https://github.com/jamulix/NameToUnix.git # Download repository -cd NameToUnix # Change to download directory +git clone https://kitux.de/forgejo/dschlueter/ntu.git # Download repository +cd ntu # Change to download directory cargo build --release # Build binary sudo cp target/release/ntu /usr/local/bin/ # copy binary to local bin directory diff --git a/man/ntu.1 b/man/ntu.1 index 7837d4a..aefea88 100644 --- a/man/ntu.1 +++ b/man/ntu.1 @@ -186,9 +186,9 @@ Processes files from deepest to shallowest to avoid parent conflicts .IP \(bu 2 Skips special files unless explicitly requested with \fB\-\-special\fR .SH BUGS -Report bugs at: https://github.com/jamulix/NameToUnix/issues +Report bugs at: https://kitux.de/forgejo/dschlueter/ntu/issues .SH AUTHOR -Written by Dieter Schlüter +Written by Dieter Schlüter .SH COPYRIGHT Copyright \(co 2025 Dieter Schlüter. Licensed under MIT License. .SH SEE ALSO @@ -196,4 +196,4 @@ Copyright \(co 2025 Dieter Schlüter. Licensed under MIT License. .BR detox (1), .BR mv (1) .PP -Full documentation at: https://github.com/jamulix/NameToUnix +Full documentation at: https://kitux.de/forgejo/dschlueter/ntu diff --git a/release.md b/release.md index 02ff315..f128e10 100644 --- a/release.md +++ b/release.md @@ -31,8 +31,8 @@ cargo install NameToUnix ### Manueller Build ```bash -git clone https://github.com/username/NameToUnix.git -cd NameToUnix +git clone https://kitux.de/forgejo/dschlueter/ntu.git +cd ntu cargo build --release ``` @@ -658,7 +658,7 @@ fn main() -> Result<()> { ``` -## 8. ./github/workflows/build.yaml -- GitHub Actions Workflow für CI/CD +## 8. .github/workflows/build.yaml -- CI/CD Workflow (Legacy) ```yaml name: Build and Test