A predicate to check if a file is hidden
"file" - the file to check.
True or false and this operator is only usable in a comparison context.
foreach $user_dir (ls("/Users/")) { $file = getFileProper($user_dir, ".porn"); if (-exists $file && -isHidden $file) { $user = matches($user_dir, '/Users/(.*)')[0]; println("User $user is trying to hide porn!"); } }
User parsoff is trying to hide porn!