Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use FSlint to find and delete duplicate files in Linux

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to use FSlint to find and delete duplicate files in Linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to use FSlint to find and delete duplicate files in Linux.

FSlint can find duplicate files, temporary files, wrong system links and other contents in the system, and users can delete these contents according to the actual situation, so as to achieve the purpose of cleaning up the system.

Install FSlintarchlinux:$ yay-S fslintDebian, Ubuntu, Linux Mint:$ sudo apt-get install fslintFedora:$ sudo dnf install fslintRHEL, CentOS:$ sudo yum install epel-release$ sudo yum install fslint

After installation, launch it from the menu or application launcher. This is what the FSlint graphical user interface looks like.

As you can see, FSlint's interface is user-friendly and straightforward. On the search paths tab, add the path to the directory you want to scan, and then click the find button in the lower left corner to find duplicates. Select the recursive option on the right to recursively search for duplicates in directories and subdirectories. FSlint will quickly scan the given directories and list them.

Select duplicates to clean up from the list, and you can select any of the operations such as Save, Delete, merge, and symbolic Link. In addition, in the Advanced search parameters tab, you can specify the path to exclude when searching for duplicates.

The FSlint command line option FSlint provides the following command line to find duplicates in the file system: findup- looks for duplicate files findnl- looks for problematic filenames. Findu8- find invalid utf8 encoded file name findbl- find wrong link findsn- find name conflict file finded- find empty directory findid- find invalid user id file findns- find unstripped executable findrs- find redundant blank findtf- in files find temporary files findul- find potentially unused libraries zipdir- recycle space wasted in ext2 directory entries

All of these utilities can be used under the / usr/share/fslint/fslint/fslint location. For example, to find duplicates in a given directory:

$/ usr/share/fslint/fslint/findup ~ / Downloads/

To find an empty directory:

$/ usr/share/fslint/fslint/finded ~ / Downloads/

To find duplicate files, do the following:

$/ usr/share/fslint/fslint/findup-help

Others are similar.

At this point, I believe you have a deeper understanding of "how to use FSlint to find and delete duplicate files in Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report