Skip to content

Instantly share code, notes, and snippets.

@kcmckell
Created July 23, 2014 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kcmckell/58144e66f8eefa5b4e8d to your computer and use it in GitHub Desktop.
Save kcmckell/58144e66f8eefa5b4e8d to your computer and use it in GitHub Desktop.
Recursively list all files in a directory, sorted by modification time, filtering out 'Icon' files. [Credit](http://stackoverflow.com/questions/3400031/bash-filtering-out-directories-and-extensions-from-find)
gfind . -type f -printf "%-.22T+ %M %n %-8u %-8g %8s %Tx %.8TX %p\n" | sort | cut -f 2- -d ' ' | grep -v Icon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment