Freitag, 12. September 2014

Download older than files from FTP via LFTP

This is how you can download all files from your ftp that are older than x days:

Linux

Download LFTP:
apt-get install lftp


Connect:
lftp <ftp-host>

-> user <username>
(asked for password)

set local directry:
-> lcd <local path>

download files:
->mirror --older-than='now-30days'

Montag, 1. September 2014

HTML/JS - Syntax Highlighter

For displaying code on your website with nice syntax highlighting you can use the syntax highlighter from here: