1

Files have same size

view story
linux-howto

http://www.unix.com – Hello, I want remove files have same size in a directory. this command only find this files. Code: ls -l | awk '$1!~/^d/{if(size[$5]!=""){ print}size[$5]=$8}' I want to remove the files of the same size. samples: 5 files are same size. I want to keep only first file. Thank you very much for your help. (HowTos)