'find' ignore hidden (dot) files
Peter L. Peres
plp-ysDPMY98cNQDDBjDh4tngg at public.gmane.org
Mon Feb 16 21:18:42 UTC 2004
plp-NSb0HxlTAbs at public.gmane.org:~/tmp > touch .a
plp-NSb0HxlTAbs at public.gmane.org:~/tmp > find ./ -regex '\./\..*'
./.a
plp-NSb0HxlTAbs at public.gmane.org:~/tmp >
regex can be tricky. Try to match just the tail using an expression that
starts in / and ends in $.
Peter
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list