I have added an extra function, it came handy to me and I would like to share it.
So after it copied a file from a given location, it also deletes the source file and/or folder tree. you can see this as a cleanup function.
import shutil
import os
from os import path
IgnoreFileTypes = 'txt,nfo ...
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Search found 1 match
- Mon Apr 06, 2015 9:02 am
- Forum: General Support
- Topic: Directory Watcher - Copy Files
- Replies: 23
- Views: 28783