.dsy:it.
Show 150 posts per page

.dsy:it. (http://www.dsy.it/forum/)
- Sistemi operativi I (http://www.dsy.it/forum/forumdisplay.php?forumid=269)
-- esercizio (http://www.dsy.it/forum/showthread.php?threadid=39367)


Posted by zigio on 14-10-2009 13:56:

esercizio

Ciao a tutti qualcuno sa come va risolto questo esercizio:


Trovare tutti i file modificati di venerdi' (sia un venerdi' particolare che di venerdi' in generale)


Grazie per l'attenzione ,ciao.


Posted by mark on 18-10-2009 15:22:

se non ricordo male l'idea era questa

find / -type f > tmp;
while read l;
do g=$(echo $l | stat -Mtime);
t=$(echo $g | cut -d ' ' -f 1-4);
echo -e "$l \t5" | grep $1;
done < tmp

__________________
Non ti perdere di coraggio se ti tocca lavorare molto e raccogliere poco.....


All times are GMT. The time now is 09:52.
Show all 2 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.