Hi everyone, I'm a begineer with linux syntax ..
I want to search this folder, excluding "cache" & "ip" subfolders, size between 300 & 1 bytes, excluding "sess_*" session files..
My syntax is aproximate & doesn't work on excluding these patterns ..
find /z/tmp/ -type f \( ! -name cache -type d -prune ! -name ip -type d -prune \) -not \( -name 'sess_*' -prune \) Thanks for help :)