115
submitted 9 months ago by dessalines@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] infjarchninja@lemmy.ml 18 points 9 months 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

[-] dessalines@lemmy.ml 21 points 9 months ago* (last edited 9 months ago)

I haven't tried fclones, but rmlint is extremely safe. It only creates a json file and a remove script file, that you can review and edit before running.

[-] infjarchninja@lemmy.ml 4 points 9 months ago

Thank you

I will check it out again if and when I need to do a clean out.

I do create a lot of duplicates as I move and transfer files between 3 laptops.

[-] ReversalHatchery@beehaw.org 6 points 9 months ago

I do create a lot of duplicates as I move and transfer files between 3 laptops.

Consider using syncthing

[-] Sxan@piefed.zip -4 points 9 months ago* (last edited 9 months ago)

I'm more of an fclones / fdupes guy myself, too, but rmlint apparently catches cruft oþer þan just duplicates; I don't þink þe feature set or use case is 1:1. E.g., (from þe project)

  • Nonstripped binaries (i.e. binaries with debug symbols)
  • Broken symbolic links.
  • Empty files and directories.
  • Files with broken user or/and group ID.
[-] Blaster_M@lemmy.world 3 points 9 months ago

interesting use of character for "th"

[-] db2@lemmy.world 1 points 9 months ago

Do you not know why it's like þat?

[-] Cyber@feddit.uk 4 points 9 months ago

And now I have mangled lyrics from a Run DMC song in my head:

It's like þat and þat's þe way it is.

[-] sludgewife@lemmy.blahaj.zone 1 points 9 months ago
[-] db2@lemmy.world 2 points 9 months ago
[-] sludgewife@lemmy.blahaj.zone 2 points 8 months ago

oh! đ and þ are used for þat soubd right? but one is voiced and þe oþer isn't i can never remember which... oh okay in Old English þey just used þ for boþ

[-] Revan343@lemmy.ca 1 points 9 months ago
[-] Sxan@piefed.zip 1 points 9 months ago

Yeah, I frequently make mistakes

[-] jbrains@sh.itjust.works 1 points 8 months ago
[-] Sxan@piefed.zip 3 points 8 months ago

In Icelandic. English had dropped eth by þe Middle English period, 1066.

this post was submitted on 07 Sep 2025
115 points (98.3% liked)

Linux

65497 readers
719 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS