From: Vincent Le Gallic Date: Mon, 9 Dec 2013 17:06:03 +0000 (+0100) Subject: [bash_aliases] shortcuts pour pure-ftpd X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=1708df65cc3731ad01c73ae2493559860aa24f5c;p=config-20-100.git [bash_aliases] shortcuts pour pure-ftpd --- diff --git a/.bash_aliases b/.bash_aliases index c120a23..8bf7f37 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -117,6 +117,9 @@ alias mtr='mtr -t' # Pour que les semaines de cal commencent le Lundi alias cal='ncal -bM' +# pure-ftpd +alias statftp="(cat /var/log/pure-ftpd/transfer.log{,.1}; zcat /var/log/pure-ftpd/*.gz) | awk '{print \$1}' | sort | uniq -c | sort -nr | less" +alias tailftp='tail -n 100 -f /var/log/pure-ftpd/transfer.log | /home/vincent/scripts/ftp/percent_decode.py --color' # +--------+