venerdì 13 giugno 2008

Installare lista di patch zippate in un colpo solo!

Ecco quà due semplici comandi che fanno risparmiare un sacco di tempo:

ls | grep .zip >> lista.txt && cat lista.txt | while read x ; do unzip -q $x ; done && rm -rf lista.txt #unzip multipatch


ls *.zip | wc -l && /usr/bin/rm -rf *.zip && ls | wc -l

ls >> listapatch.txt && cat listapatch.txt | while read x ; do patchadd -d $x ; done && rm -rf listapatch.txt #installa multipatch

Nessun commento: