Last 100 changed files?

Derek Broughton derek at pointerstop.ca
Sun Feb 1 01:13:37 UTC 2009


Paul Rumelhart wrote:

> John Culleton wrote:
>> On Saturday 31 January 2009 06:00:54 am Dotan Cohen wrote:
>>   
>>> Is there a way that a user can list the last 100 changed files in
>>> his home directory? I mean to do this _without_ resorting to the
>>> console? See the comments here for why I ask:
>>> http://www.ghacks.net/2009/01/27/display-last-100-changed-files/
>>>     
>> It would not be that difficult to write a program to do this.  That is
>> what someone did for windows.  But I don't know what the market for
>> such a program would be, or how slow it would run.
>>   
> 
> 
> All the program would have to do is run the appropriate CLI command and
> splat the results into a window.  Something similar to: "find ~ -ctime 1
> -printf "%CY-%Cm-%Cd %CH:%CM:%CS %p\n" | sort -r | head -100". 

There!  You've done all the heavy lifting - the only problem is that this is 
Gnu/Linux, FlOSS and all that, and there _isn't_ a market :-)  But you're 
right - there's not a lot to do after getting "find" to do all the work.






More information about the kubuntu-users mailing list