Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wcy-dt/onedriveignore
This project implements .onedriveignore, which is similar to .gitignore, so that Onedrive does not synchronize certain files.
https://github.com/wcy-dt/onedriveignore
onedrive powershell-script registry sync
Last synced: 5 days ago
JSON representation
This project implements .onedriveignore, which is similar to .gitignore, so that Onedrive does not synchronize certain files.
- Host: GitHub
- URL: https://github.com/wcy-dt/onedriveignore
- Owner: WCY-dt
- License: gpl-3.0
- Created: 2024-03-29T08:00:01.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-29T08:25:38.000Z (8 months ago)
- Last Synced: 2024-10-12T20:41:49.846Z (about 1 month ago)
- Topics: onedrive, powershell-script, registry, sync
- Language: PowerShell
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OneDriveIgnore
This project implements .onedriveignore, which is similar to .gitignore, so that Onedrive does not synchronize certain files.## Usage
Write the file name that you do not want to be synchronized to the .onedriveignore file in the root directory of the local OneDrive storage path.
Same as .gitignore, the file content supports regular expressions.
If the .onedriveignore file does not exist, the script will automatically create one.
Here is an example:
```.onedriveignore
example0.exe
example1.*
*example2
```**Please note that each time you modify the .onedriveignore file, you need to re-execute the script.**
## Implementation
OneDrive can desynchronize certain files by setting the registry. The registry location is `HKLM:\SOFTWARE\Policies\Microsoft\OneDrive\EnableODIgnoreListFromGPO`.