recentpopularlog in

kme : find   7

A (slightly) simpler command-line Spotlight search
Any qualified Spotlight query should be usable with "-interpret", so go ahead with
<code class="language-bash">mdfind -interpret "kind:image flash:1 modified:<=1/1/08 ex-girlfriend"</code>
to find those late-night pictures of last year's special someone.
macos  spotlight  metadata  mdfind  commandline  shellscripting  terminal  searchandindex  tipsandtricks  alternativeto  find 
september 2019 by kme
How do I remove "permission denied" printout statements from the find program? - Unix & Linux Stack Exchange | https://unix.stackexchange.com/
Those messages are sent to stderr, and pretty much only those messages are generally seen on that output stream. You can close it or redirect it on the command-line.

$ find / -name netcdf 2>&-

or

$ find / -name netcdf 2>/dev/null
find  findutils  filesystem  shellscripting  stderr  redirection  reference  solution 
october 2017 by kme
EmacsWiki: Regular Expression
GNU 'find' uses this syntax by default.

See also: https://www.gnu.org/software/emacs/manual/html_node/emacs/Regexps.html#Regexps

Also: Emacs REs *do* support alternatives with the pipe character, but both the pipe and the parens have to be escaped (ref.: https://www.emacswiki.org/emacs/RegularExpressionHelp)
find  regex  regexp  emacs  reference  coreutils  gnu  sysadmin  shell  regularexpression  syntax  essential 
december 2014 by kme
Avoiding Tar's (or Any Other Commandline's) Argument List Too Long Error | DZone [http://dzone.com/]
# a shorthand of this would be:
find . -name '*.ext' -print | tar -cvzf archive.tar.gz --files-from -
unix  sysadmin  backupandrecovery  find  tar  solution  webmaster 
august 2014 by kme

Copy this bookmark:





to read