Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hatton/filemeddler
Windows Console app that simulates interference by OneDrive, Dropbox, etc. or antivirus. It does this by watching and then momentarily locking files.
https://github.com/hatton/filemeddler
testing utility
Last synced: 25 days ago
JSON representation
Windows Console app that simulates interference by OneDrive, Dropbox, etc. or antivirus. It does this by watching and then momentarily locking files.
- Host: GitHub
- URL: https://github.com/hatton/filemeddler
- Owner: hatton
- License: mit
- Created: 2016-07-30T22:09:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-17T16:00:56.000Z (about 1 year ago)
- Last Synced: 2024-04-17T02:51:09.070Z (7 months ago)
- Topics: testing, utility
- Language: C#
- Homepage:
- Size: 8.79 KB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FileMeddler
## Motivation
We get occasional unreproducible bug reports from users in which some other program is locking files we just created or modified. How rude! Three things that we know can do this are OneDrive, Dropbox and anti-virus programs. So we wrote FileMeddler as a testing tool that lets us torture-test a program's ability to handle this kind of interference gracefully.
## What it Does
FileMeddler watches all the files in a directory (including subdirectories). When one is added, modified, or renamed, it attempts to grab exclusive lock on the file for a couple seconds.
![](https://i.imgur.com/bY4gLSL.png)
## Usage
In a console, go to a directory where your application writes files, and start to meddle:cd somedirectory
meddleIf want to meddle in different directories (e.g. both where you store user files and temp directory), start a different console and a different copy of meddle.
## Parameters
There are no parameters you can set at this time.## Possible Future Work
It would be nice to be able to control how aggressively we meddle with files, including:* time to wait before trying to lock the file
* how long to keep it locked
* how long before giving up on attempts to get the lock
* a "Dropbox simulation" preset## License
This project is licensed under the terms of the MIT license.