{"id":15415796,"url":"https://github.com/shilangyu/driveignore","last_synced_at":"2025-04-19T14:23:14.177Z","repository":{"id":42525129,"uuid":"173493175","full_name":"shilangyu/driveignore","owner":"shilangyu","description":"Simple cli for google drive sync that allows you to have .driveignores","archived":false,"fork":false,"pushed_at":"2025-03-01T12:30:53.000Z","size":139,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T08:32:59.184Z","etag":null,"topics":["drive","driveignore","google"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shilangyu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-02T20:01:37.000Z","updated_at":"2025-03-01T12:30:49.000Z","dependencies_parsed_at":"2024-06-20T14:09:49.325Z","dependency_job_id":"25bea942-2b0a-47f5-af04-954b6fed6008","html_url":"https://github.com/shilangyu/driveignore","commit_stats":{"total_commits":104,"total_committers":6,"mean_commits":"17.333333333333332","dds":0.3653846153846154,"last_synced_commit":"e4d312b4c6a77a712fdc1c799bc7666f6942f79c"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shilangyu%2Fdriveignore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shilangyu%2Fdriveignore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shilangyu%2Fdriveignore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shilangyu%2Fdriveignore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shilangyu","download_url":"https://codeload.github.com/shilangyu/driveignore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249711598,"owners_count":21314275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["drive","driveignore","google"],"created_at":"2024-10-01T17:09:39.518Z","updated_at":"2025-04-19T14:23:14.159Z","avatar_url":"https://github.com/shilangyu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# driveignore\n\n[![](https://github.com/shilangyu/driveignore/workflows/ci/badge.svg)](https://github.com/shilangyu/driveignore/actions)\n\nThis simple cli tools works **together with** the [google drive sync](https://www.google.com/drive/download/) allowing you to have .driveignore files. Driveignore uses hardlinks, meaning no files duplicates, no repetitive cli calls, and blazing fast 'upload' speeds.\n\n## installing\n\n- grab an executable from the [release tab](https://github.com/shilangyu/driveignore/releases)\n- add it to `PATH`\n- install [google drive sync](https://www.google.com/drive/download/)\n\nor\n\n- install [golang](https://golang.org/dl/)\n- run the `go install github.com/shilangyu/driveignore@latest` command\n- install [google drive sync](https://www.google.com/drive/download/)\n\nDone! You will now have `driveignore` as a command in your terminal.\n\n## how to use\n\nYou can get all the help about each command by using the `--help` (`-h`) flag.\n\n- Create an empty folder and add it to the google drive watch list\n- Create a `.driveignore` the same way you would a `.gitignore` in the root of a directory you wish to sync\n- run `driveignore upload [path to your folder from step 1]`. The current working directory will be cloned to the drive folder with respect to the `.driveignore` blacklist\n\nAnd you're done! Google drive will take care of the rest, which is syncing the files to the cloud. Once a file has been uploaded through `driveignore upload` you wont have to upload it again, google drive will listen to changes because the 'uploaded' files are hardlinks.\n\n## global vs local .driveignore\n\nYou can create a global `.driveignore` using the `driveignore global` (it will print the path to it), that way if you want to upload a directory without a `.driveignore` the global one will be used. You can also force a merge of local and global `.driveignore` during upload using the `--mergeIgnores` flag.\n\n## help output\n\n```\nThis simple cli allows you to have .driveignore(s)\nIt will look for a .driveignore, ignore the specified files\nand make a hard link of your files to your drivesync folder\nmeaning no files duplicates, and no repetitive cli calls.\n\nUsage:\n  driveignore [command]\n\nAvailable Commands:\n  clean       Cleans your drive sync folder from old files\n  diff        Compares your directory with the drive one\n  global      Get the path to your global .driveignore\n  help        Help about any command\n  unify       Unifies 2 directories where input is the source\n  upload      Upload a directory to your drive folder\n\nFlags:\n  -h, --help      help for driveignore\n      --verbose   Prints out whats happening\n\nUse \"driveignore [command] --help\" for more information about a command.\n```\n\n## linux? 😢\n\nThere is no drive sync for linux:\n\n\u003e There is no Drive app for Linux at this time. Please use Drive on the web and on your mobile devices.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshilangyu%2Fdriveignore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshilangyu%2Fdriveignore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshilangyu%2Fdriveignore/lists"}