Check last modified date of downloaded file






















Smeeheey Smeeheey 9, 16 16 silver badges 37 37 bronze badges. Modified to add windows support — Smeeheey. Dylan95 Dylan95 1 1 silver badge 2 2 bronze badges. In order to use std::filesystem on macOS with Apple's developer tools, you must assume Catalina or later. Boost is cross platform.

Please note that there are some limitations Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Who owns this outage? Building intelligent escalation chains for modern SRE. Podcast Who is building clouds for the independent developer? Featured on Meta. Now live: A fully responsive profile. This can come in handy when you want to check when the file was last edited.

Additionally, it ensures that you have the latest version of the file. The ls -l command is just okay in giving you basic information about a file such as file ownership and permissions, file size, and creation date. The stat command returns detailed information file attributes such as the last time the file was accessed and modified.

From the above output, we can clearly see when the file was last accessed Access date , Modify date, Change date among other parameters. If you wish to view the modified date only and leave out all the other information, run the following command:.

For directories, the syntax remains the same. Simply replace the file name with that of the directory. Still, you can also use the search box at the top-right corner to find files by date modified in Windows You can search files on a specific date or a date range if you know when you last modified the file. You can check how to do it below. Step 1. Go the correct drive and directory in File Explorer. Step 2. If you know when you last modified the file, you can click the Search Box and type datemodified: in it.

Do not omit the colon. You should see the Calendar widget appear like below. Step 3.



0コメント

  • 1000 / 1000