zeldor.biz

Linux, programming and more

Copyright © 2023
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

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *