Home » Questions » Computers [ Ask a new question ]

How do I view all the files (including those in subdirectories) ordered by last modified date?

How do I view all the files (including those in subdirectories) ordered by last modified date?

So I have a folder that has a lot of folders that have a lot of folders and so on.

Asked by: Guest | Views: 90
Total answers/comments: 5
Guest [Entry]

"Did you try to use the built-in Windows Search (wildcard search on that folder, then sorting the result by modify date).

As alternative, there is a little freeware tool you could use: ""Last Changed Files."" Here is a description of the software."
Guest [Entry]

"The dir command,

dir /od /S

was something i used long back.

Since then, I have shifted to Cygwin.

find . -type f -exec ls -lsrt {} +

Note: The 'r' makes 'ls' reverse sort; latest files at the bottom."
Guest [Entry]

"In Explorer, use kind:NOT folder in the Search box to return all files. Select Date Modified as the primary sort from the View Ribbon or by clicking on the column header in a Details view.

In PowerShell, the simplest form would be:
Get-ChildItem -File -Recurse | Select-Object LastWriteTime, FullName | Sort-Object LastWriteTime -Descending | out-GridView

Using aliases shortens this to:
gci -af -r | select LastWriteTime, FullName | sort LastWriteTime -d | ogv

GridView is great for output that would be truncated or wrapped if output to the console."
"In Explorer, use kind:NOT folder in the Search box to return all files. Select Date Modified as the primary sort from the View Ribbon or by clicking on the column header in a Details view.

In PowerShell, the simplest form would be:
Get-ChildItem -File -Recurse | Select-Object LastWriteTime, FullName | Sort-Object LastWriteTime -Descending | out-GridView

Using aliases shortens this to:
gci -af -r | select LastWriteTime, FullName | sort LastWriteTime -d | ogv

GridView is great for output that would be truncated or wrapped if output to the console."
Guest [Entry]

"Depending on how the edits were made, it could be captured in your timeline.
Go to task view (keyboard shortcut WIN+TAB) and scroll down. You should see a chronological list of files you have interacted with.
Task view is the weird little button next to the search box on the task bar.
I use this often to go back to files I was recently working on."
Guest [Entry]

"1.Type anything in the search bar
2.it will show Search Tab
3.Select Date Modified filter as per your need
like 'This week' will show all modified files which are modified in last week.

For Sorting
Go to View Tab and select Detail Option and then you can sort by Date Modified"