Would it be possible to add an option to specify a "trash" folder where deleted items could be moved? I think this would make this tool very powerful, because I like to backup my files daily and having an option like this could prevent those accidental deletions by just going to your "trash" folder and getting it out. Likewise it would be easy enough to manually clean your trash every week or so.
I'd love to help out on the development, I just barely have the time anymore.
Perhaps something like:
void SyncFiles::OnNotSourceDestFile(const wxString &path){
wxString source = sourceroot + wxFILE_SEP_PATH + path;
wxString dest = destroot + wxFILE_SEP_PATH + path;
if(data->GetFunction() == _("Mirror") || data->GetFunction() == _("Clean")){
if(!data->GetRules()->ShouldExclude(dest, false)){
if(move files, don't delete them is true){
CopyFile(dest, trash folder location);
}
RemoveFile(dest);
}
}
else if(data->GetFunction() == _("Equalise")){
if(!data->GetRules()->ShouldExclude(dest, false)){
CopyIfNeeded(dest, source);
}
}
}