Rene Thiel <[email protected]> (So 13 Jul 2014 00:03:54 CEST):
> Hallo,
> 
> für die Suche nach Hacks auf einem Webserver verwende ich folgendes:
> 
> touch --date "2014-04-19" /tmp/start
> find /srv/www/vhosts/domain.de -type f -name "*.php" -newer /tmp/start  > 
> /tmp/vhosts_2014-04-19.txt
> 
> Ergebnis:
> 
> /srv/www/vhosts/domain.de/httpdocs/w45184090n.php
> 
> Ich hätte jedoch gern folgendes Ergebnis:
> 
> 2014-06-30 20:30[1] /srv/www/vhosts/domain.de/httpdocs/w45184090n.php
> 
> [1] oder so ähnlich...

    find … -newermt '2014-04-19' -name '*.php' -printf '%T+ %p\n'

find(1) /-newerXY/


-- 
Heiko

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Lug-dd maillist  -  [email protected]
https://ssl.schlittermann.de/mailman/listinfo/lug-dd

Antwort per Email an