zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Find duplicate files by size

May 17, 2012 by Igor Drobot Leave a Comment

Find the same files by their size:

1
ls -l | awk '$1!~/^d/{if(size[$5]!=""){ print}size[$5]=$8}'

ls -l | awk '$1!~/^d/{if(size[$5]!=""){ print}size[$5]=$8}'

Very useful to delete duplicate photos or videos.

Filed Under: Bash, Linux Tagged With: duplicate, duplicate filles

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok