Some handy ls and find tricks with dates
René Dohmen
September 03, 2014
1 min

As a quick reminder for myself; some ls and find variations to do stuff with files and dates.

ls sort on date:

ls reverse sort on date:

ls reverse sort on modifed date, show hidden files, showdetails and print it in human readable form

find all files in current dirs and subdirs (e.g. recursively) that are changed in the last 5 minutes:

Find all files on filesystem that were modified maximally 3 * 24 hours (3 days) ago till now:

Related Posts

Deploy FastAPI on Amazon Serverless
May 15, 2021
5 min
© 2021, All Rights Reserved.
Powered by formatics

Quick Links

Advertise with usAbout UsContact Us

Social Media