Subversion Repositories wimsdev

Rev

Rev 4561 | Blame | Compare with Previous | Last modification | View Log | RSS feed

# GetClassModif
# Fournit les dernieres modifications survenues
# sur la classe qclass depuis la date "data1"
# (renvoit la liste des fichiers modifiés)

!read scripts/check.class
!if $error!=$empty
  !exit
!endif

data1=!trim $data1
!default data1=1 day ago
start=!date -d '$data1' '+%Y%m%d%H%M'

modif=!sh cd $wims_home/log/classes/$qclass\
        touch -t $start .tstamp\
        find . -follow -type f -newer .tstamp | sed 's!^./!!g'\
        rm -f .tstamp