• infjarchninja@lemmy.ml
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    4 days ago

    Hey Dessalines

    I never got on with rmlint. It never felt safe to me.

    I found fclones to be much better and safer.

    Plus there is a GUI version for those not using the terminal

    Gui Version https://github.com/pkolaczk/fclones-gui

    CLI version https://github.com/pkolaczk/fclones

    +++++++++++++++++++++++++

    Usage

    fclones offers separate commands for finding and removing files. This way, you can inspect the list of found files before applying any modifications to the file system.

    group – identifies groups of identical files and prints them to the standard output

    remove – removes redundant files earlier identified by group

    link – replaces redundant files with links (default: hard links)

    dedupe – does not remove any files, but deduplicates file data by using native copy-on-write capabilities of the file system (reflink)

    +++++++++++++++++++++++++

    I did actually test this by creating a directory with duplicates.

    test_dupes 186 files

    scanned directory for duplicates and created dupes.txt

    fclones group . >>dupes.txt

    dupes.txt

    remove duplicates to another directory

    /home/user/Desktop/dupes

    fclones move target_dir <dupes.txt

    fclones move /home/user/Desktop/dupes <dupes.txt

    test_dupes now has 173 files

  • trevor (he/they)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    4 days ago

    This is the first time I’ve heard “lint” used this way, but I like it. I’ve heard Linus refer to various waste left behind on your system as “turds” 💀

    Anyway, this looks like a cool tool. Gonna check this out.

      • TimLovesTech@badatbeing.social
        link
        fedilink
        English
        arrow-up
        8
        ·
        4 days ago

        I have heard “lint” or “delint”/“delinting” in terms of checking scripts for syntax errors and such, I have never heard it used in terms of deduping a filesystem, since that already has a term for it.

    • teawrecks@sopuli.xyz
      link
      fedilink
      arrow-up
      3
      ·
      3 days ago

      I’m not a fan of having two definitions for “lint” in the tech world. Unnecessary ambiguity.