Skip to content

Instantly share code, notes, and snippets.

@karlcow
Last active October 18, 2019 16:26
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 karlcow/8abaa0f090dd784e6114de17a058afc7 to your computer and use it in GitHub Desktop.
Save karlcow/8abaa0f090dd784e6114de17a058afc7 to your computer and use it in GitHub Desktop.
listing files with date, size and path
# find .: search here
# -type f: file only
# -print: output format
# '%TY-%Tm-%Td: date iso
# %s : file size
# %p\n' : path and return
# |: pipe to another command
# column -t: the results are aligned
find . -type f -printf '%TY-%Tm-%Td %s %p\n' | column -t
@karlcow
Copy link
Author

karlcow commented Oct 18, 2019

On linux only

@miketaylr
Copy link

oh coool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment