Task: Recursively removes all files in the /system/folder1 folder but '*txt' files.
Command: find /system/folder1 -type f -not -name '*txt' | xargs rm
Equivalent command: find /system/folder1 -type f ! -name '*.txt' -print -delete