Closed xmoiduts closed 3 years ago
@xmoiduts Have you seen this: https://github.com/abraunegg/onedrive/blob/master/docs/USAGE.md#skip_dir ?
@xmoiduts Closing issue, as question answered. Also, in future please follow the correct support process as detailed here:
https://github.com/abraunegg/onedrive#have-a-question https://github.com/abraunegg/onedrive#reporting-an-issue-or-bug
Note: Before submitting a bug report, please ensure you are running the latest 'onedrive' client as built from 'master' and by using the latest available DMD compiler. Refer to the readme on building the client for your system.
Bug Report Details
Describe the bug I have a git-tracked project folder to sync, but I don't want to download .git repo from the onedrive cloud since it often distrubs the repo (namely: get hostname added to file name). As I configured sync_dir and sync_list, the .git/ folder still get downloaded where it shouldn't. I know there is a "skip all dotfiles" method, however similar function should also be able be implemented by editing sync_list properly.
I'm interested to know how to properly write the sync_list file to avoid syncing folders like .git and
__pycache__
. .git is located in certain folders that human can enumerate,*/__pycache__/*
is scattered in many folders that have python source code.Application and Operating System Details: Everything unspecified is the same as #1526 .
onedrive --display-config
:Complete Verbose Log Output A clear and full log of the problem when running the application in the following manner (ie, not in monitor mode):
Run the application in a separate terminal window or SSH session and provide the entire application output including the error & crash. When posing the logs, Please format log output to make it easier to read. See https://guides.github.com/features/mastering-markdown/ for more details.
Application Log Output:
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Bug Report Checklist