Drazzilb08 / daps

DAPS (Drazzilb's Arr PMM Scripts) A collection of useful scripts for media management and automation
MIT License
152 stars 31 forks source link

Upgrade jdupes to latest version #190

Open NooNameR opened 2 months ago

NooNameR commented 2 months ago

Current version of jdupes in the docker:

docker exec daps jdupes --version
jdupes 1.21.3 (2023-02-09) 64-bit

But there is new version is available: https://www.jdupes.com/2024/07/27/news-jdupes-1-28-0-released/.

Drazzilb08 commented 2 months ago

Will take a look at this. Thanks for the info.

Drazzilb08 commented 1 month ago

This should be updated with the most recent build #192

NooNameR commented 1 month ago

still seems to be:

root@tnas:~# docker exec daps jdupes --version
jdupes 1.21.3 (2023-02-09) 64-bit
---------------------------------------------------------
     _____          _____   _____
    |  __ \   /\   |  __ \ / ____|
    | |  | | /  \  | |__) | (___
    | |  | |/ /\ \ |  ___/ \___ \
    | |__| / ____ \| |     ____) |
    |_____/_/    \_\_|    |_____/
     (Drazzilb's Arr PMM Scripts)

        PUID:           99
        PGID:           100
        UMASK:          002
        BRANCH:         master
        VERSION:        1.2.3
        CONFIG_DIR:     /config
        RCLONE_CONFIG:  /config/rclone/rclone.conf
        APPDATA Path    /appdata
        LOG_DIR:        /config/logs
-------------------------------------
NooNameR commented 1 month ago

interesting that it is not available for this debian 12: https://debian.pkgs.org/12/debian-main-amd64/jdupes_1.21.3-1+deb12u1_amd64.deb.html but available for SID: https://debian.pkgs.org/sid/debian-main-amd64/jdupes_1.28.0-1_amd64.deb.html

NooNameR commented 1 month ago

my assumption is that you need to download it from: https://codeberg.org/jbruchon/jdupes/releases and move it /usr/bin

NooNameR commented 1 month ago
apt-get install xz-utils
wget https://codeberg.org/jbruchon/jdupes/releases/download/v1.27.3/jdupes-1.27.3-linux-x86_64.pkg.tar.xz
tar -xJf jdupes-1.27.3-linux-x86_64.pkg.tar.xz -C  <directory>

running by

./<directory>/jdupes

or moving to /usr/bin

NooNameR commented 1 month ago

just made it work inside container:

./jdupes --version
jdupes 1.27.3 (2023-08-26) 64-bit, linked to libjodycode 3.1 (2023-07-02)
Hash algorithms available: xxHash64 v2, jodyhash v7
Compile-time feature flags: dedupe
Copyright (C) 2015-2023 by Jody Bruchon and contributors
Drazzilb08 commented 1 month ago

Okay will push a small update. I didn't know it was this kind of broken. I figured a new build would just pull the latest version with apt get. But guess I was wrong. I'll reopen the issue.