Questions tagged [datemodified]

43 questions
0
votes
2 answers

Print files modified in the last 24 hours to the console

I'm taking a C# course, and the current assignment is to create a console application that transfers new files (modified in the last 24 hours) from directory "Customer Orders" to directory "Home Office". At this point I'm just trying to come up…
Nathan R
  • 840
  • 5
  • 13
  • 32
0
votes
2 answers

Compare File Date Modified in VBA

So I am writing a code in VBA that opens up all files in a document and copies and pastes the information from each document. The code is set up to open up every document, but itself. My dilemma is that I want the code to open ever document that has…
Ivan Morales
  • 11
  • 1
  • 3
0
votes
1 answer

When are bundle Date Modified values created?

With ASP.NET Bundling and Minification at what point is the Date Modified Header Response value created? Assuming I'm not using a caching service and have browser cache disabled, are the bundles dynamically created on each page load and therefore…
Curtis
  • 101,612
  • 66
  • 270
  • 352
0
votes
1 answer

Get file's last modification date with Logstash

Is there a way for Logstash to get the date at which a file has been last modified? In Linux, this would correspond to the date -r command.
halpsb
  • 1,106
  • 2
  • 18
  • 28
0
votes
2 answers

How can I conditionally prevent a column from being updated in SQLite?

I have a table with CREATED and MODIFIED columns. I only want to insert the CREATED value once and have it be thereafter immutable. I know how to do this in a tedious way (write a "DoesRecordExist()" method and then alter the query and number of…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
0
votes
0 answers

Need SQL CODE for all File/Folder properties including all subfolders, Size in MB, modified/Create/Last access date, Path/Location

Need SQL code to find the following details in a Drive/Path: - Folder Name and File Name - Folder Size and File Size in MB - Date Created and Date Modified and Date Accessed - File Flag (1/0) Yes or no based on whether the line item is a file or a…
0
votes
1 answer

vbscript windows xp warning message based on date

I would like windows XP to have a running script that checks the "date modified" of files as they are opened and give the user a warning message if the date matches between 1/1/11 to 7/15/14. The files might have no extension, a .pm5 extension, a…
0
votes
1 answer

How to return the Date Modified property?

I am setting up a system where we are scanning a single page to PDF and saving it to a specific folder. I want to build an Excel spreadsheet that looks at the Date Modified property of the saved files in this particular folder and build my system…
Josh
  • 265
  • 6
  • 11
  • 20
0
votes
0 answers

C# library to Copy New and Modified directories/files

I want to build an application that will copy all new and modified files from a source folder path to a destination backup path. I know I can use a brute force loop through all files in source directory and compare in destination directory (see…
user327999
  • 443
  • 1
  • 9
  • 21
-1
votes
1 answer

Extract "Date Modified" from all files in a directory

I have a large shared directory with a lot of folders with sub-folders etc...These folders and sub-folders contains files. For all files in this directory, I need to create a text file that writes all files paths [,] data_modified. Can someone help…
grouse_4
  • 3
  • 2
-1
votes
1 answer

Batch to search and move duplicate files of a specific type

There is a huge amount of pdf files in my datacenter's subdirectories. In a local folder i want to check if the existing files are already in the datacenter's dir and if yes to move them to another local folder. I want to filter my search to .pdf…
Roy J.
  • 1
  • 1
-1
votes
3 answers

Parse a log file's last modified date into a variable

I am trying to set a variable to the number of days since a log file was modified. this way I can use that value as a flag for the next time a command runs. example: if the command ran yesterday, the value will be 1 if the command ran 5 days ago,…
sip_admin
  • 59
  • 1
  • 4
-1
votes
1 answer

Find last modified file in all subfolders

I need a Windows batch code to find the last modified file among all the files in all the subfolders of a specific folder. It doesn't seem to be so simple as it appears. Some files could have been modified in the same minute, but in different…
1 2
3