find hard linked files (duplicate inodes) recursively

find . -type f -printf '%10i %p\n' | sort | uniq -w 11 -d -D | less
If you have two sets of files that may share hard-linked files, it can be useful to identify which ones are hard links to same underlying inode (file). This command shows you all of those, sorted by inode#. In my example the two directory trees to compare share a common parent, so I run the command in that parent and just use find . to start from the current directory. If yours are in different locations, you can pass both paths to find: find /directory1 /directory2 -type f -printf '%10i %p\n' | sort | uniq -w 11 -d -D | less
Sample Output
 190186228 ./10/alpha1/2612_fsm
 190186228 ./12/alpha1/base/19108/2612_fsm
 190203401 ./10/alpha1/pg_internal.init
 190203401 ./12/alpha1/base/19108/pg_internal.init
 190206322 ./10/alpha1/3079_fsm
 190206322 ./12/alpha1/base/19108/3079_fsm

0
By: dmmst19
2020-09-13 22:12:58

What Others Think

After submitting this I learned about fdupes -H which is sounds like will do pretty much the same thing.
dmmst19 · 31 weeks ago
A fascinating dialog is value remark. I feel that it is best to compose more on this matter, it may not be an unthinkable theme however generally people are insufficient to chat on such subjects. To the following. Salud. http://112.140.187.61/">Daftar joker123
muneerahmed · 27 weeks and 4 days ago
This is an amazing piece of work and gives me informative insights into the subject matter. I would love to read more about your work to enhance my knowledge. Further, to get the best https://uttercoupons.com/front/store-profile/5-off-stadium-goods-coupon
Rida · 25 weeks and 6 days ago
Rida · 25 weeks and 6 days ago
I have created this profile to make awareness about my website offerings Coupons, Coupons codes Such as https://uttercoupons.com/front/store-profile/carters-coupon-codes
Rida · 25 weeks and 6 days ago
I have created this profile to make awareness about my website offerings Coupons, Coupons codes https://uttercoupons.com/front/store-profile/covenant-eyes-coupon-code
Rida · 25 weeks and 6 days ago
I have a Website this website is for coupons. Coupons are basically used for a discount per product so I want you guys to visit my website and use the discount products. Though this website. Get the latest, trendy, and minimal price by utter coupons.such as carter coupon, Stadium goods Promo Code, TSplus Coupon, Covenant eyes coupon, FedEx poster coupon,febfitfun prom
Rida · 25 weeks and 6 days ago
This is Wiliam I have created this profile to make awareness about my website offerings Coupons, Coupons codes Such as https://uttercoupons.com/front/store-profile/fedex-office-coupon-code
Rida · 25 weeks and 6 days ago
This is Wiliam I have created this profile to make awareness about my website offerings Coupons, Coupons codes Such as https://uttercoupons.com/front/store-profile/gepur-coupon
Rida · 25 weeks and 6 days ago
This is an amazing piece of work and gives me informative insights into the subject matter. I would love to read more about your work to enhance my knowledge. Further, to get the best https://uttercoupons.com/front/store-profile/5-off-stadium-goods-coupon
Rida · 25 weeks and 6 days ago
I have created this profile to make awareness about my website offerings Coupons, Coupons codes Such as https://uttercoupons.com/front/store-profile/carters-coupon-codes
Rida · 25 weeks and 6 days ago
I have created this profile to make awareness about my website offerings Coupons, Coupons codes https://uttercoupons.com/front/store-profile/covenant-eyes-coupon-code
Rida · 25 weeks and 6 days ago
I have created this profile to make awareness about my website offerings Coupons, Coupons codes Such as https://uttercoupons.com/front/store-profile/fabfitfun-coupon-code
Rida · 25 weeks and 6 days ago
I have created this profile to make awareness about my website offerings Coupons, Coupons codes https://uttercoupons.com/front/store-profile/fedex-office-coupon-code
Rida · 25 weeks and 6 days ago
I have created this profile to make awareness about my website offerings Coupons, Coupons codes https://uttercoupons.com/front/store-profile/gepur-coupon
Rida · 25 weeks and 6 days ago
great content! will recommend this site to my friends
looneyhans · 25 weeks and 3 days ago
I am eternally on a regular basis always exclaiming that its hard to observe great help, but here is. Thanks! See More Help
wendyparis19 · 25 weeks and 1 day ago
thanks!! learned alot here and helped me alot as well. keep making these contents :D hair extensions colorado springs
looneyhans · 24 weeks and 5 days ago
thanks!! learned alot here and helped me alot as well. keep making these contents :D hair extensions colorado springs [url=https://bluestacks.red/]bluestacks[/url] [url=https://bluestacks.red/hotstar-for-pc/]hotstar for pc[/url] [url=https://omegle.red/]omegle[/url]
mikestanley464 · 22 weeks and 3 days ago
guitar lessons tulsa Can you tell me a bit more, please?
yeoyeo · 22 weeks and 3 days ago
thanks for this fencingeugeneor.com
looneyhans · 20 weeks and 6 days ago
lovely and very nice! bathroomremodelinglaredo.com
Killersmile · 20 weeks and 3 days ago
awesome site thanks alot executive coach madison wi
looneyhans · 17 weeks and 5 days ago
eyelash extensions glad i found this site!
idasanka · 16 weeks and 3 days ago
Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks maison intelligente
bojokey283 · 16 weeks and 2 days ago
love how couples counseling detailed this article is, great job!
idasanka · 16 weeks and 1 day ago
Very good points you wrote here..Great stuff...I think you've made some truly interesting points.Keep up the good work. visit here
xoheko1229 · 16 weeks ago
This is an amazing piece of work and gives me informative insights into the subject matter. I would love to read more about your work to enhance my knowledge. Further, to get the best zinitevi apk
hrihant · 15 weeks and 6 days ago
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. abonnenten24 https://abonnenten24.de
bojokey283 · 15 weeks and 2 days ago
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. automação doméstica
bojokey283 · 15 weeks and 1 day ago
I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. online marketing
bojokey283 · 15 weeks and 1 day ago
hearing aids honolulu This is the only site the helped me
yeoyeo · 14 weeks and 4 days ago
Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!.. hartlepool removals
bojokey283 · 13 weeks and 3 days ago
I know your expertise on this. I must say we should have an online discussion on this. Writing only comments will close the discussion straight away! And will restrict the benefits from this information. alquiler de carros en barranquilla
bojokey283 · 13 weeks and 2 days ago
Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. tree surgeon colchester
bojokey283 · 13 weeks ago
Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!.. Hausautomation
bojokey283 · 12 weeks and 6 days ago
Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!.. coronavirus mexico
bojokey283 · 12 weeks and 2 days ago
thanks for sharing this with us! love it!
sammm · 11 weeks and 3 days ago
It was really nice to see the commands you have described here in this article. It's a find command that is used to Right CBD Tincture Dosage find the hard linked files recursively. There are so many such online sites that made your program learning task so simple. Looking here for more details.
Alyssalauren · 11 weeks and 2 days ago
Your work is very good and I appreciate you and hopping for some more informative posts. Thank you for sharing great information to us. best restaurants cozumel
bojokey283 · 11 weeks and 1 day ago
I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all,.. covid mexico
bojokey283 · 10 weeks ago
I have been checking out a few of your stories and i can state pretty good stuff. I will definitely bookmark your blog chemical
xoheko1229 · 9 weeks and 5 days ago
I have been checking out a few of your stories and i can state pretty good stuff. I will definitely bookmark your blog chemical
xoheko1229 · 9 weeks and 5 days ago
Lovely very nice ! Thanks for sharing this http://myaccountaccess.space/
myaccountaccess · 9 weeks and 4 days ago
Thanks for taking the time to discuss this, I feel strongly that love and read more on this topic. If possible, such as gain knowledge, would you mind updating your blog with additional information? It is very useful for me. korrekt ügyvéd Debrecen
bojokey283 · 8 weeks and 5 days ago
I have bookmarked your blog, the articles are way better than other similar blogs.. thanks for a great blog! otomatisasi rumah
bojokey283 · 7 weeks and 5 days ago
Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!.. kedvez? pályázatírás Debrecen
bojokey283 · 6 weeks and 6 days ago
Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. how to get to isla mujeres from cancun
xoheko1229 · 6 weeks and 6 days ago
this is really nice to read..informative post is very good to read..thanks a lot! cozumel beach bars
xoheko1229 · 6 weeks and 4 days ago
Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. best place to stay in tulum
xoheko1229 · 6 weeks and 1 day ago
I felt very happy while reading this site. This was really very informative site for me. I really liked it. This was really a cordial post. Thanks a lot!. best restaurants in tulum beach
xoheko1229 · 6 weeks ago
Very good points you wrote here..Great stuff...I think you've made some truly interesting points.Keep up the good work. best places to stay in playa del carmen
xoheko1229 · 5 weeks and 5 days ago
If you set out to make me think today; mission accomplished! I really like your writing style and how you express your ideas. Thank you. isla mujeres map
xoheko1229 · 5 weeks and 3 days ago
I felt very happy while reading this site. This was really very informative site for me. I really liked it. This was really a cordial post. Thanks a lot!. best restaurants in holbox beach
xoheko1229 · 5 weeks and 2 days ago
You can turn off visible directory recursion using the -s option to du , and 2 Disk Usage (du), Quotas, and Linked FilesIndex up to index to see the duplicate inode numbers and know which files are hard links to each other. expressHR login
Tamera579 · 4 weeks and 3 days ago
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. treatnheal
xoheko1229 · 3 weeks and 6 days ago
I have been looking for this! private investigator las vegas
aegyjingoo · 2 weeks and 3 days ago
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. bathroom vanity
bojokey283 · 2 weeks and 1 day ago
There are many platforms such as web designing such as static HTML, flash web sites along with a lot more. PHP is just one such stage which effortlessly works the best for custom cutting internet solutions.
Geekstation · 1 week and 6 days ago
There are many platforms such as web designing such as static HTML, flash web sites along with a lot more. PHP is just one such stage which effortlessly works the best for custom cutting internet solutions. [url=https://www.emspace.com.au//] Drupal hosting[/url]
Geekstation · 1 week and 6 days ago
thank you https://www.zteknik.com/servisler/121/karacasan-servisi/
kingolink · 1 week and 4 days ago
Karacasan Servisi
kingolink · 1 week and 4 days ago
These include online poker, keno, craps, https://casinomaxi.ca/ blackjack, baccarat, slots, and others. It is better to play online casino games, according to some gamblers
bebasik · 1 week and 2 days ago
"The Extra Discount" More Shopping, More Savings! the extra discount is an internet retail platform that provides you to buy your favorite items at such astonishing prices which are hard to seek out . If we talked about online shopping there are many other platforms that are engaged on a similar niche but couldn't be ready to cater to needs in an exceedingly hassle-free manner. We are Hell stop of all solutions, here you'll find all the solutions under an equivalent hood so you don't have to be compelled to surf the web for hours. we all know how hard for you to manage your time from your hectic routine. [url=https://theextradiscount.com]Extra discount[/url]
jhonnyjordan · 1 week and 2 days ago
"The Extra Discount" More Shopping, More Savings! the extra discount is an internet retail platform that provides you to buy your favorite items at such astonishing prices which are hard to seek out . If we talked about online shopping there are many other platforms that are engaged on a similar niche but couldn't be ready to cater to needs in an exceedingly hassle-free manner. We are Hell stop of all solutions, here you'll find all the solutions under an equivalent hood so you don't have to be compelled to surf the web for hours. we all know how hard for you to manage your time from your hectic routine. Extra discount
jhonnyjordan · 1 week and 2 days ago
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. coronavirus cozumel
bojokey283 · 1 week ago
Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!.. taroko gorge day trip
bojokey283 · 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: