1

FIND: Combining -size & -prune

view story
linux-howto

http://www.unix.com – I am having an issue adding the -size test to my find command. I am trying to find all files smaller than 250mb, that are not in .snapsnot or man directories. What i started with Code: find . -xdev -type d \( -name man -o -name .snapshot \) -prune -o -type f What I have tried..unsuccessfully Code: find . -xdev -size -262144000c -type d \( -name man -o -name .snapshot \) -prune -o -type f find . -xdev \( -type d \( -name man -o -name .snapshot \) -o -size +262144000c \) -prune -o -type f I know i am just placing something in the wrong place. Can you help me out here? (HowTos)