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 dupeGuru to delete duplicate files in Linux

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article shows you how to use dupeGuru to delete duplicate files in Linux, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

Installation of dupeGuru

On Ubuntu, you can add Hardcoded Software personal package Archive (PPA):

$sudo apt-add-repository ppa:hsoft/ppa $sudo apt-get update

Then install it with the following command:

$sudo apt-get install dupeguru-se

The basic usage of dupeGuru

The original intention of DupeGuru is to be fast and safe. This means that the program will not be messed up when it runs on the system. It is highly unlikely to delete files that you do not want to delete. However, since we are still talking about file deletion, it is always a good idea to be cautious: a good backup is always essential.

Once you have taken precautions, you can start duprGuru with this command:

$dupeguru_se

You should see the folder selection screen, where you can add folders that you want to scan to delete duplicate files.

Once you select a directory and start the scan, dupeFuru will display the results: duplicate files in the form of a list.

Note that by default, dupeGuru matches files based on their contents, not their names. To ensure that you have not mistakenly deleted important files, the matching column shows the accuracy of the matching algorithm. You can select the duplicate file you want to perform the action here, click the "Action" button, and you can see the available actions.

There are a wide range of operations to choose from. In short, you can delete duplicate files, move them to another location, ignore them, open them, rename them, or even execute custom commands on them. If you choose to delete duplicate files, you may be pleasantly surprised to find the delete options available.

You can not only send duplicate files to the dustbin or delete them, but also choose to leave a link to the original file (using symbolic links or hard links). In other words, duplicate files are deleted, leaving only links to the original files, which saves a lot of disk space. This feature is especially useful if you import those files into the workspace or have dependencies based on them.

There is also a strange option: you can export the results to a HTML or CSV file. I'm not sure why you're doing this, but I think it's useful if you want to track down duplicate files instead of performing any dupeGuru operations on duplicate files.

* but not least, the parameter selection menu can make the dream of deleting duplicate files come true.

Here you can choose the criteria for scanning, either content-based or name-based, as well as a threshold that controls the number of duplicate files. You can also define custom commands that you can choose in the operation. Among the many other small options, we noticed that by default, dupeGuru ignores files smaller than 10KB.

The above is how to use dupeGuru to delete duplicate files in Linux. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

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

Servers

Wechat

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

12
Report