write a rust program, that when run, watches the downloads folder for a specific file…
Private research annotation
Sign in to add a private research label or note.
Jump to turn (17)
- 1write a rust program, that when run, watches the downloads folder for a specific
- 2update the program to watch the user's downloads folder, agnostic of the operati
- 3is there a way to get the downloads folder, without using env? like, is there a
- 4give me the cargo command to install "directories"
- 5error: there is nothing to install in directories v4.0.1, because it has no bina
- 6skip the checking of metadata. also, instead of fs::rename, can you use a functi
- 7create the destination folder if it doesn't exist
- 8now how do I register this as a windows service?
- 9going back to the non-service implementation, update the program to read the fil
- 10move the file list loop inside, as this seems like it will sleep for each file
- 11I have a Hashmap>. how do I iterate through the values?
- 12is there a way to unwrap them outside the loop?
- 13[{ "resource": "/d:/Code/Rust/janitor/src/main.rs", "owner": "rustc", "code": {
- 14I have the following loop. is there a way to make it cleaner? for file in config
- 15I am having this loop: for file in config["sources"] .values() .filter\map(|f| f
- 16what is the cargo command to build an optimized version of the binary?
- 17how do I run a rust exe without launching the terminal
- User
write a rust program, that when run, watches the downloads folder for a specific file name that is being downloaded, and automatically moves it to another folder
- Assistant