lasttouchedSG

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.5 - CODING/DEVELOP
Introduced first in SolidGeometry 1.0, Creation date: 2011-12-12, Last change: 2025-07-20

returns the last modified m files in the current directory

Description

code extracted from function work

See Also: work , fcreationdate , lasttouchedDoc , lasttouchedPDF

Example Illustration

 missing image of lasttouchedSG(nmax,ext,xdir,styp)

Syntax

L=lasttouchedSG([nmax,ext,xdir,styp])

Input Parameter

nmax: max number of files or datestring (yyyy-mm-dd) for files changed after date
ext: optional extension; default is {'*.m', '*.mlx'}
xdir: optional directory; default is pwd
styp: 'change' or 'create'

Output Parameter

L: Cell list of Names - change date - file size

Examples


lasttouchedSG
lasttouchedSG(4)
lasttouchedSG('2017-09-04')
lasttouchedSG(100,'*creat*')
lasttouchedSG(20,'*.png',desktopdir)
lasttouchedSG('2019-01-28','*.m','','creat')




Copyright 2011-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-08-09