{"id":14065864,"url":"https://github.com/lamyj/wsl-path-converter","last_synced_at":"2025-04-30T10:11:14.865Z","repository":{"id":62589661,"uuid":"158239871","full_name":"lamyj/wsl-path-converter","owner":"lamyj","description":"Convert between Linux and Windows path in WSL","archived":false,"fork":false,"pushed_at":"2020-09-01T10:18:55.000Z","size":13,"stargazers_count":17,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T03:08:25.675Z","etag":null,"topics":["linux","path","windows","wsl"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lamyj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-19T14:45:29.000Z","updated_at":"2024-05-01T14:28:49.000Z","dependencies_parsed_at":"2022-11-03T17:56:56.767Z","dependency_job_id":null,"html_url":"https://github.com/lamyj/wsl-path-converter","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamyj%2Fwsl-path-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamyj%2Fwsl-path-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamyj%2Fwsl-path-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamyj%2Fwsl-path-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lamyj","download_url":"https://codeload.github.com/lamyj/wsl-path-converter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251683355,"owners_count":21626953,"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":["linux","path","windows","wsl"],"created_at":"2024-08-13T07:04:46.995Z","updated_at":"2025-04-30T10:11:14.841Z","avatar_url":"https://github.com/lamyj.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# WSL path converter\n\nConvert between Linux and Windows path in [WSL](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux) (Windows Subsystem for Linux).\n\n## Installation\n\nEither install the latest stable version hosted on [PyPI](https://pypi.org/):\n\n    pip install wsl-path-converter\n\nOr clone the source repository and install the bleeding-edge version:\n\n    git clone https://github.com/lamyj/wsl-path-converter.git\n    cd wsl-path-converter\n    pip install .\n\nIf the latter case is run by a regular user, i.e. non-root, the `wpc` executable will be installed in `~/.local/bin`.\n\n## Usage\n\nThis converter works with Windows path mounted in WSL, either through `/etc/fstab` or through the `mount` command: it must be used from within WSL to access the required information.\n\nThe executable is called `wpc`. To convert a Windows path to its Linux counterpart, run it with the `-u` option:\n\n    wpc -u C:\\autoexec.bat\n\nThis is also valid using [UNC](https://en.wikipedia.org/wiki/Path_(computing)#Uniform_Naming_Convention) paths (e.g. remote shares):\n    \n    wpc -u \\\\samba.example.com\\share\n\nFor the converse operation, i.e. convert a Linux path to its Windows counterpart, use the `-w` option:\n\n    wpc -w /mnt/c/autoexec.bat\n\nIf a path unambiguously belongs to either Windows or Linux, the conversion option can be skipped; all previous examples can be run without the option:\n\n    wpc C:\\autoexec.bat\n    wpc \\\\samba.example.com\\share\n    wpc /mnt/c/autoexec.bat\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamyj%2Fwsl-path-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flamyj%2Fwsl-path-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamyj%2Fwsl-path-converter/lists"}