Started 2 days, 11 hours ago (2009-01-07 17:00:00)
by Shimegi
Après pas mal de tests (je découvre :p) j'en étais arrivé là pour la partie "trace" : Code : #!/bin/bash TESTOK=5 TODAY=`date +%Y%m%d` NLINE=0 find /home/test/ -type f -ctime -$TESTOK \> /home/archivage/$TODAY.txt cat /home/archivage/$TODAY.txt | while read LINE do ((NLINE++)) currentArchive=`sed -n "$NLINE p" /home/archivage/$TODAY.txt` echo "$TODAY" > $...
Thread:
Show this thread (2 posts)
Size: 1,333 bytes
Related Threads: Same Site | All Sites
Customize:
Related Threads: Same Site | All Sites
Customize:

