Hi
I have a directory say mydir and inside it there are many files and subdirectories and also a directory called lost+found owned by root user
I want to print all files directories and subdirectorres from my directory using find command except lost+found
If i do
find . \( -name 'lost+found' -prune \) -xdev -print
i just get
./lost+found
whereas i want all the other things except lost+found