This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Simple Python wrapper around lftp to mirror a remote ftp onto a local folder. | |
New files are downloaded, deleted files are marked for removal in a TO_DELETE.sh | |
script. | |
""" | |
import os | |
import pprint | |
import re |