Hot answers tagged

1 vote

Sorting ls output by date in filename, in reverse order

This will list all files recursively with ls output and reverse sorted by modified time (mtime): find -print0 -type f directory_path | xargs -0 ls -ltr Peform the search more quickly with fd fd -0 -t ...
adamency's user avatar
  • 380

Only top scored, non community-wiki answers of a minimum length are eligible