在Unix中的目录中列出重复的文件 [英] List duplicate files in a directory in Unix

查看:118
本文介绍了在Unix中的目录中列出重复的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何 unix 命令可以在特定的目录中显示重复文件 /code>.kindly让我知道您的意见。

Is there any unix commands that can display duplicate files in a particular directory.kindly let me know your comments.

推荐答案

您应该能够使用 fdupes 来实现这一点。

You should be able to use fdupes to achieve this.

fdupes ./directory

这应该列出目录中的所有重复文件也可以传递它-r用于递归扫描到子目录中。

That should list all the duplicate files in a directory, you can also pass it -r for a recursive scan into subdirectories.

这篇关于在Unix中的目录中列出重复的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆