{"id":14063337,"url":"https://github.com/laurent22/wslpath","last_synced_at":"2025-03-22T03:31:06.250Z","repository":{"id":44440277,"uuid":"101276142","full_name":"laurent22/wslpath","owner":"laurent22","description":"wslpath - Converts Unix and Windows format paths in WSL","archived":false,"fork":false,"pushed_at":"2018-04-27T10:38:02.000Z","size":7,"stargazers_count":109,"open_issues_count":6,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-18T07:21:02.471Z","etag":null,"topics":["path","php","wsl"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/laurent22.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}},"created_at":"2017-08-24T09:11:38.000Z","updated_at":"2024-12-28T19:59:41.000Z","dependencies_parsed_at":"2022-07-13T08:11:00.069Z","dependency_job_id":null,"html_url":"https://github.com/laurent22/wslpath","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurent22%2Fwslpath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurent22%2Fwslpath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurent22%2Fwslpath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurent22%2Fwslpath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laurent22","download_url":"https://codeload.github.com/laurent22/wslpath/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244902929,"owners_count":20529114,"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":["path","php","wsl"],"created_at":"2024-08-13T07:03:17.035Z","updated_at":"2025-03-22T03:31:05.712Z","avatar_url":"https://github.com/laurent22.png","language":"PHP","readme":"# wslpath\n\nwslpath - Converts Unix and Windows format paths in WSL Edit\n\n# Installation\n\nNote: PHP is required.\n\n\twget 'https://raw.githubusercontent.com/laurent22/wslpath/master/wslpath'\n\tchmod 755 wslpath\n\tsudo mv wslpath /usr/bin\n\n# Usage\n\n\twslpath [-m|-u|-w|-h] NAME[:line[:col]]\n\n\tOutput type options:\n\n\t  -w           (default) prints Windows form of NAME (C:\\WINNT)\n\t  -m           like -w, but with regular slashes (C:/WINNT)\n\t  -u           prints Unix form of NAME (/mnt/c/winnt)\n\n\tOther options:\n\n\t  -h           displays usage information\n\n\tIf no output type is selected, the program will try to detect the form of\n\tNAME and print the opposite type (eg. will print Windows form for Unix\n\tpath).\n\n# Features\n\n- Auto-detects path - converts to a Unix path if it is a Windows path and vice-versa.\n- Correctly handles symlinks (Since Windows does not know about the WSL symlinks, they are resolved and the link target is returned).\n- Correctly handles paths under lxss directory (this is the hidden user directory under which WSL-only files and directories are located).\n- Correctly handles :line:column suffix. For example, `subl $(wslpath /mnt/d/script.js:10:2)` would open D:\\script.js at line 10, column 2 in Sublime Text\n\n# License\n\nMIT\n","funding_links":[],"categories":["WSL Tools","PHP"],"sub_categories":["10. GUI Apps"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurent22%2Fwslpath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaurent22%2Fwslpath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurent22%2Fwslpath/lists"}