Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
50 views

Override default UTC time on static resources [duplicate]

I have set up static resource serving with SpringBoot like so: @Configuration @EnableWebMvc public class WebConfig implements WebMvcConfigurer { @Override public void addResourceHandlers(...
Luka Jaković's user avatar
0 votes
0 answers
23 views

What is the best way to implement file cacheing by different types?

The index page of website I'm working on sends 136 HTTP requests of which 105 are images, which I would like to have cached. The page currently has the meta tags cache-control no-cache and pragma no-...
user240174's user avatar
0 votes
0 answers
39 views

rsync omit times for symlinks

tl;dr Is there an "omit link times" option for rsync similar to the "omit dir times" option for folders? Or a different approach to achieve this? Setup I am trying to sync two ...
smatberg_gpe's user avatar
0 votes
0 answers
44 views

Folder Last Modified Date Discrepancy in Windows Explorer due to Subfolder Changes

I am aware there are familiar threads to this problem, but i think this is a more direct approach. root └── A/ └── B/ └── asdf.txt (content modified) Modifying "asdf.txt" ...
gorschel's user avatar
0 votes
0 answers
128 views

Last-Modified header always shows 1 jan 1970

I add these headers in my PHP: header('Content-Description: File Transfer'); header('Content-Type: '.$mime); header('Content-Disposition: attachment; filename=' . $quoted); header('Content-Transfer-...
Bart Friederichs's user avatar
0 votes
1 answer
455 views

Get last modified of nested file

I am trying to get the last modified date of files in nested folders and only copy the files that have been modified in the last 10 days. Folder structure: container: home product_data/ |---------...
Mariah Akinbi's user avatar
0 votes
2 answers
192 views

How to reduce the time taken by an ADF pipeline to read all the files in a FileShare and pick only the latest file

We daily receive files to fileShare and it increases number of files save in that folder. So, ADF pipeline takes lot of time to pick the latest file. I want to know how to reduce the time that ...
Nipz's user avatar
  • 1
0 votes
1 answer
69 views

Why Last-Modified can be strong validator

I read RFC 7232, which describes the Last-Modified time as below: A Last-Modified time, when used as a validator in a request, is implicitly weak unless it is possible to deduce that it is strong, ...
lan muming's user avatar
0 votes
1 answer
198 views

How can I get FileDateTime in VBA to paste UK instead of US date string into a cell in Excel

Using Windows 10 and Microsoft Office 365 set to English(UK), I've written a VBA macro that should paste the last modified time and date of a file into a cell on a spreadsheet. When I paste a date in, ...
Nigel Stevens's user avatar
0 votes
2 answers
657 views

how to get modified date of the file in python

I have a file (it could be type of typing.IO or tempfile.SpooledTemproraryFile) How I can get the date of the last modification, I don't know what is the path to the file, the only thing that I have ...
M Kravets's user avatar
0 votes
1 answer
524 views

Get last modified folder using Azure Data Factory

I am trying to get the directory (i.e. /DATE=2023-01-03/ID=333) that has been modified within the last 5 minutes, then pass that folder path as a value to the source path of a Copy data activity. I've ...
user9532692's user avatar
-1 votes
1 answer
50 views

Auto Date created and Last Modifier Google Sheet App scripts

Im tried complete my inventory sheet with a function date created and last modifier via a tutorial Youtube, im reading comment, many guys have trouble like me, i think if found the way solve this ...
Tom's user avatar
  • 1
1 vote
1 answer
98 views

Batch File Get Last Modified Date whille looping thru subdirectories

I am looping through all subdirectories inside a directory, and wish to both save and echo the last modified date of each. I cannot figure out the right type of for loop to do this. The following ...
crosenblum's user avatar
  • 1,917
0 votes
1 answer
661 views

How to specify a “Last-Modified” header in PHP

I am building a website that uses PHP, and would like to know how to send a Last-Modifed header that reflects the actual date that my files were last modified. As I'm sure you know, PHP strips away ...
Jordan Clark's user avatar
1 vote
1 answer
719 views

Javascript set lastModified date of image file

For example using the code found here: https://stackoverflow.com/a/62189458 I tried to change to this: const file = new File([blob], fileName, { type: contentType, lastModified: 5000000 }) Looking at ...
NA NA's user avatar
  • 11
0 votes
1 answer
304 views

Why does the PDF /ID field not match the last created and last modified dates?

In the PDF structure, the trailer typically contains information regarding the date when a document was created and the date of when it was last modified. If these two match, we will know that this ...
Melo's user avatar
  • 115
0 votes
1 answer
104 views

get file's last modified date stamp in Unix

I need to find the file last modified date stamp in Unix. Please help me me in finding the solution.
Harish's user avatar
  • 15
0 votes
2 answers
426 views

How to Sort Files in Firebase Storage by Last Modified

When uploading files directly into the Firebase Storage dashboard, the files are automatically sorted by Name. Is there a way to order them by Last Modified Date? Sometimes, I'm able to hover the ...
GV2020's user avatar
  • 21
1 vote
0 answers
21 views

Script copy Last Modified object in Windows10

I wanna the script that Copy the last object that modified (based on "Data modified" in Windows Explorer) For Example: D:\Source\A1.txt Data modified: 12/24/2022 D:\Source\A2.txt ...
Kasra21's user avatar
  • 11
0 votes
1 answer
157 views

Copy files after time x based on modifaction Date

I need a script that only copy files after 5 minutes based on the modification date. Does anyone have a solution for this ? I couldn't find any script online.
Josi's user avatar
  • 1
0 votes
0 answers
679 views

Great Expectations - Result validation for row_count and column_freshness

I would like to validate results for row count and column freshness on some data on AWS. I am using a check_config.json file to configure the checks. I use terraform to make a Glue job to run the ...
Fortune Musara's user avatar
1 vote
1 answer
680 views

Extracting the createdDateTime and LastModifiedDateTime of a file using inputstream of the file. I'm unable to get it using Metadata class from Tika

I have some files which will be either email attachments or zip attachments. which means that I have stream of the file instead of file or its actual path. I need to get the created date time and last ...
Ruhul Hussain's user avatar
0 votes
1 answer
652 views

Detecting if a Record in Airtable has been modified

I am trying to stream data from an Airtable base to a local file. I am working in go and using this airtable package I want to be able to detect whether a record has been modified, without having to ...
Adam Haffar's user avatar
0 votes
2 answers
4k views

Script for last edited/modified time & date

I have been searching around for a script that will give me the time & date that a google sheet was last modified. I have a list of all the google sheet workbook IDs in column E of a sheet called '...
Rob Chetty's user avatar
0 votes
1 answer
2k views

How to find last_updated time of a hive table using presto query?

I am using trino-python-client to query the hive database https://github.com/trinodb/trino-python-client: from trino.dbapi import connect conn = connect( host="<host>", port=&...
yogeshiitm's user avatar
3 votes
0 answers
1k views

How to insert Last Modified Date & Time in VScode

I created the following C++ snippet in VS Code. /** * Author : Sakib62 * Created: Fri__01.Jul.2022__03:59:25 * File : 3.cpp **/ #include <bits/stdc++.h> using ...
Sakib62's user avatar
  • 31
1 vote
1 answer
624 views

detect elastic search index last modified time

I'm wondering what would be an efficient way to detect the last modified timestamp of an index in Elastic Search. I have read posts of adding a timestamp fields in pipeline but this solution has ...
Jin Ma's user avatar
  • 243
0 votes
1 answer
654 views

How to get last modified date for multiple files in a directory using a Batch file

As title, for example would like to get the last modified date for these extension file (.exe, .txt) in a directory/path (C:\Users). How should i do it? I am a novice on this and found some similar ...
ryoma123's user avatar
1 vote
1 answer
378 views

Practical way of finding last update/insert/delete of any table in a database?

OS: W10. This question is specifically about what's possible in MariaDB, specially version "Ver 15.1 Distrib 10.7.3-MariaDB". Edit From another SO site I have found that from 10.3.4 MariaDB ...
mike rodent's user avatar
  • 15.5k
0 votes
0 answers
135 views

How to know if exif gps tag was modified on android?

I have observed that you can change image location from android. How do I know if gps data was modified? I have researched and only got how to get the image metadata, but no tag specifying that the ...
Alecu Silviu-Marian's user avatar
-2 votes
1 answer
1k views

How to get the first file and also the last modified file using java

How to get the first created file and also the last modified file using java. I have written below snippet for getting last modified date and time , how can I get the date of first created file in a ...
unanonymous56's user avatar
0 votes
1 answer
6k views

Get Last Modified Date on Partitioned Data Using Azure Data Factory

I am ultimately trying to get the names of the partitions (ie DATE_ID=20211004) that have been modified within the last 24 hours. I've tried using the Get Metadata activity, but it seems to only ...
Mariah Akinbi's user avatar
0 votes
0 answers
31 views

Automaticaly reload html page only when a picture has been changed

I have a simple presenter when my PC is not compatible with a data projector. I make a print-screen of my local PC and upload it to my web page via FTP. It is working automatically, no problem (Linux)....
xerostomus's user avatar
5 votes
3 answers
10k views

How do I pull the 'last modified time' of each file within a directory in Python?

I have been tasked with creating a small application that allows the user to: browse and choose a specific folder that will contain the files to be checked daily, browse and choose a specific folder ...
Jacob Loveland's user avatar
0 votes
0 answers
98 views

How to merge reports having specified range for last modified date with VBA?

I have 2 macros that I would like to combine. Both work fine separately: Macro to merge all csv files in the folder (found somewhere online): Sub ImportCSV() Dim strSourcePath As String Dim ...
Harrv7's user avatar
  • 15
2 votes
1 answer
1k views

Last Modified of a File in Folder of C Program

My goal is to try to get the name, size and last modified of a folder. I have used dirent.h to get the first two types. I don't know what the best way of getting the last modified value is, but the ...
Bobby Lefto's user avatar
0 votes
2 answers
2k views

How to Overwrite SharePoint's Modified Date after Doing a SaveBinaryDirect?

I can push a file to SharePoint, but the modified date is always equal to the exact time I uploaded it. How can I overwrite the modified date to be equal to the value of the file? The code below was ...
CodeMonkey's user avatar
  • 1,835
0 votes
1 answer
193 views

google sheet's modified time in react js using tabletop

I'm using tabletop in order to get data from google sheets in react js. I don't want to fetch data each time when the page is loaded instead I wish to get sheet's data by analyzing last modified time ...
sparrow's user avatar
1 vote
0 answers
331 views

How to query a specific header from a list of urls without security prompts

I have a long list of urls for which I want to check the last-modified header The script below works well, however for some pages I get this popup, which of course slows down the whole process as I ...
Bassie's user avatar
  • 10.3k
1 vote
1 answer
609 views

SQLite "modified" trigger which only only updates modified field if values have actually changed

I'm working on a trigger for SQLite which will update the "modified" field if & only if the data in all the columns under consideration has actually changed. I've gotten very close with: ...
Jason Witherspoon's user avatar
0 votes
1 answer
630 views

List of subfolders names, folder path and date modified field

Need to write a piece of code in R that'll create a list specifying: Names of subfolders with a pre-set depth (e.g. 2 levels down) Path Date modified I've tried to use the following generic function ...
user15280617's user avatar
1 vote
1 answer
1k views

how spring data LastModifiedDate is set on an object and in which order

I am seeing a weird behavior of the LastModifiedDate functionality of spring data. Please refer to this example code: @Entity class Store { @OneToMany(cascade = REFRESH, fetch = EAGER, mappedBy=&...
user1002065's user avatar
0 votes
1 answer
773 views

How to retrieve files from a Sharepoint Folder with metadata(column) to check wether the file exists or not?

I am looking to upload the file to SharePoint using Add-PnPFile, but it overwrites the file every time. I want to check if the file exists or not ? If yes then if it is modified in the last day or not ...
Gon's user avatar
  • 49
-1 votes
1 answer
1k views

How to check whether the file is last modified or not and only upload the modified file using Add-PnPFile from local to SharePoint using PowerShell

i am trying to upload the files from my local to Sharepoint via Add-PnPFile. But everytime i upload the file it overwrites the existing file.. and if the existing file is not modified also still it ...
Gon's user avatar
  • 49
-1 votes
1 answer
416 views

See when a file last changed on http server [closed]

I'm interested in how I can see when a file on a server was last updated. I've tested curl -s -v -X HEAD http://example.com/file.txt 2>&1 | grep '^< Last-Modified:' but not all servers ...
Adam Larsson's user avatar
0 votes
2 answers
3k views

chrome browser shows 200(from disk cache) only if etag and last-modified-date both are used

why does chrome browser show 200(from disk cache) only if etag and last-modified-date both are used and not if only etag response header is set ? Note : etag generation is done correctly . In my case ...
Swati Walvekar's user avatar
0 votes
1 answer
361 views

python / pandas - Import last modified .xlsx file from a directory

I have a folder in dropbox with path: C:\Users\Sophocles PC\Dropbox\RGS Delivery\Impact Coefficients\Consumer Discretionary\CD_LG_Apparel_Accessories_Luxury_Goods\Data\CD_LG_DataOutputs and I want to ...
sophocles's user avatar
  • 13.8k
1 vote
1 answer
1k views

Retain Modified Date During SharePoint (online) File Transfers Using ClientContext

I'm essentially trying to download from SharePoint if it has a newer copy of a file or else push mine if mine is newer. I'm never concerned with merging changes in this application. Newer is simply ...
CodeMonkey's user avatar
  • 1,835
1 vote
1 answer
802 views

Is using the If-Modified-Since header to filter a resource collection to only recent ones in a REST API considered a valid approach?

I'm designing a REST API where I have a need to provide the option to GET only the resources in a collection that were created or modified recently, based on a client-provided timestamp (which, in ...
VolatileCoder's user avatar
0 votes
1 answer
352 views

Typo3 : Enable last-modified on sendCacheHeaders

I've setup a TYPO3 7.6.x website and I need to enable the last-modified on response header. I added the following TypoScript to my root template config { contentObjectExceptionHandler = 0 no_cache ...
MAZ's user avatar
  • 214

1
2 3 4 5
10