[opencms-dev] find recently modified files

Lorenz Lammersdorf lorenz.lammersdorf at kernbrand.ch
Wed Aug 17 15:51:35 CEST 2016


have a look at 
http://documentation.opencms.org/javadoc/core/org/opencms/file/CmsResource.html.
there are methods available to get the last change date 
(http://documentation.opencms.org/javadoc/core/org/opencms/file/CmsResource.html#getDateLastModified()) 
and the user who modified the resource 
(http://documentation.opencms.org/javadoc/core/org/opencms/file/CmsResource.html#getUserLastModified()).
you might write a simple jsp to build a list of the filtered resources.

regards
lorenz

Am 17.08.2016 um 15:43 schrieb Christoph Kukulies:
> Well hidden that feature :) , but thanks. Will use that from now on.
>
>
>
> Am 17.08.2016 um 14:47 schrieb Honey.Bhandari at cognizant.com:
>> Try DB export, it allows to do file changes from a specified date to
>> my knowledge.
>>
>> Regards
>> Honey
>>
>> -----Original Message-----
>> From: opencms-dev-bounces at opencms.org
>> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christoph Kukulies
>> Sent: Wednesday, August 17, 2016 6:16 PM
>> To: The OpenCms mailing list <opencms-dev at opencms.org>
>> Subject: [opencms-dev] find recently modified files
>>
>> OpenCms 9 or 10:
>>
>> How can I get a list of files (using the workplace, tools) that have
>> been modified
>>
>> a) since a certain date
>> b) by a specified user?
>>
>>
>> Also a Java class would be welcome.
>>
>> --
>> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
>



More information about the opencms-dev mailing list