Top "Last-modified" questions

How can I set the last modified time of a file from python?

I have a python script that downloads a file over FTP using ftplib. My current download code looks just like …

python unix last-modified
Linux all files of folder modified yesterday

I have modified some files present in various folders in my webroot. This was development environment. Now I have to …

linux command last-modified
How can I find the newest created file in a directory?

Is there an elegant way in Perl to find the newest file in a directory (newest by modification date)? What …

perl last-modified
C++ How to check the last modified time of a file

I'm caching some information from a file and I want to be able to check periodically if the file's content …

c++ file-io last-modified
Find latest modified file information in PowerShell

I run this code: Get-ChildItem 'C:\Test Folder' | Where {$_.LastWriteTime} | select -last 1 And I get back Mode, LastWriteTime, Length, and …

powershell-3.0 last-modified
Finding file size and last modified of SFTP oldest file using Java

I'm using JSch to get files from an SFTP server, but I'm trying to figure out a way to only …

java sftp filesize last-modified jsch
Vbscript - Compare and copy files from folder if newer than destination files

I'm trying to design this script that's supposed to be used as a part of a logon script for alot …

vbscript copy compare last-modified datemodified
Loop through ALL files in a folder based on 'Last Modified Date'

I need to loop through the files in a given folder in descending order of 'Last Modified Date'. In the …

loops vbscript last-modified filesystemobject
Which one to use : Expire Header, Last Modified Header or ETags

I am running PHP on Apache, and am confused about how to implement server-side caching, in order to make the …

php apache2 etag last-modified mod-expires
How to check if directory contents has changed with PHP?

I'm writing a photo gallery script in PHP and have a single directory where the user will store their pictures. …

php directory last-modified filemtime