Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 22972

find is a command line utility to search for files in a directory hierarchy

4
votes
6answers
I have several directories with useless files (like *.tmp, desktop.ini, Thumbs.db, .picasa.ini). How to scan all drives to find directories which contain nothing but some of those files? …
asked Aug 13 by Rami Sedhom
2
votes
Used this combination of find, xargs, ls, sed, wc and awk commands and it is working: find . -type f \( -iname "desktop.ini" -o -name "thumb.db" \) -printf %h\\0 | xargs -0 -I "{}" sh -c 'printf … "{}\t"; ls -l "{}" | sed -n "1!p" | wc -l' | awk '$2 == "1" {print $0}' Explanation: find . find in current directory -type f find files only \( -iname "desktop.ini" -o -name "thumb.db" \)where …
answered Aug 13 by Rami Sedhom