Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
No description, website, or topics provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
cleandir ======== Super duper small script using inotify to find closed files and delete them once they're closed. Useful for instantly removing files uploaded to an ftp server (for speedtest purposes) as to not fill up the file system. Usage ----- Modify the WATCH_DIR in the source and then just run the script with something like `cleandir.py &`. Perhaps put it in some startup file so it is started on boot. Todo ---- Should be able to daemonize and configure it, perhaps through command line args?