Tuesday, November 8, 2011

SSH pretraga fajlova većih od 100 MB?

Korisnik ste Dedicated ili VPS hosting rešenja po Linux-om, podrazumevano imate omogućen SSH pristup i želite da pronađete sve fajlove veće od npr. 100MB?

Potrebno je da se preko SSH klijenta povežete na vaš server, putanju podesite na lokaciju u kojoj želite da pokrenete pretragu/listing npr. /home i da izvršite sledeću komandu:

find . -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

Izmenom "-size +100000k" parametra, kriterijum možete prilagođavati vašim potrebama.

1 comment:

  1. The winner of this spherical is the Banker, outcome of|as a end result of} the Player can only use the second digit of the whole value. For an optimum expertise go to our web site on another browser. You can improve your account to get a vast collection. Indulge in tantalizing delicacies cooked to perfection by award-winning chefs. Even the webpage the place the avid gamers – go to use the service 메리트카지노 gets designed to be user-friendly. It will ready to|be succesful of|have the power to} have more assurance in terms of|when it comes to|by method of} monetary security.

    ReplyDelete