From 1708df65cc3731ad01c73ae2493559860aa24f5c Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Mon, 9 Dec 2013 18:06:03 +0100 Subject: [PATCH] [bash_aliases] shortcuts pour pure-ftpd --- .bash_aliases | 3 +++ 1 file changed, 3 insertions(+) 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' # +--------+ -- 2.39.2