Incepat0r Posted August 24, 2015 Report Posted August 24, 2015 (edited) Salut!As vrea sa afisez toate numele de fisierele dintr-un director, iar problema este ca as vrea ca scriptul sa ruleze in mod continuu si sa afiseze si noile fisiere create dupa rularea scriptului.Practic ar trebui un "tail" facut ca un "ls" executat continuu.Aveti ceva sugestii, eu ma gandeam sa folosesc "watch -n"? Edited August 24, 2015 by Incepat0r Quote
Active Members MrGrj Posted August 24, 2015 Active Members Report Posted August 24, 2015 (edited) Poti face un script care sa ruleze comanda dir o data la x timp.Ceva de genul: @Echo OFF:STARTDIR /b /s | sortSLEEP 20GOTO END// am crezut ca vrei in windows Linux like:watch -n 1 ls -ltr /ceva_director Edited August 24, 2015 by MrGrj Quote