All Projects → laurent22 → Wslpath

laurent22 / Wslpath

Licence: mit
wslpath - Converts Unix and Windows format paths in WSL

Labels

Projects that are alternatives of or similar to Wslpath

Wsldl
Advanced WSL launcher / installer. (Win10 FCU x64/arm64 or later.)
Stars: ✭ 782 (+1121.88%)
Mutual labels:  wsl
Three.js Pathtracing Renderer
Real-time PathTracing with global illumination and progressive rendering, all on top of the Three.js WebGL framework. Click here for Live Demo: https://erichlof.github.io/THREE.js-PathTracing-Renderer/Geometry_Showcase.html
Stars: ✭ 872 (+1262.5%)
Mutual labels:  path
Show trajectory
This repository collected 3 ways to show trajectory of robot in ROS
Stars: ✭ 48 (-25%)
Mutual labels:  path
Wslgit
Use Git installed in Bash on Windows/Windows Subsystem for Linux (WSL) from Windows and Visual Studio Code (VSCode)
Stars: ✭ 903 (+1310.94%)
Mutual labels:  wsl
Wsl Programs
A community powered list of programs that work (and those that don't) on the Windows subsystem for Linux
Stars: ✭ 931 (+1354.69%)
Mutual labels:  wsl
Easywsl
Use Docker Containers as WSL Distros
Stars: ✭ 32 (-50%)
Mutual labels:  wsl
Centwsl
[DISCONTINUED] CentOS based WSL distribution
Stars: ✭ 766 (+1096.88%)
Mutual labels:  wsl
Morphi
Shapes for SwiftUI ♡☾
Stars: ✭ 54 (-15.62%)
Mutual labels:  path
Path.swift
Delightful, robust, cross-platform and chainable file-pathing functions.
Stars: ✭ 839 (+1210.94%)
Mutual labels:  path
Gsudo
A Sudo for Windows - run elevated without spawning a new Console Host Window
Stars: ✭ 1,016 (+1487.5%)
Mutual labels:  wsl
Is Absolute
Returns true if a filepath is absolute. The original path-is-absolute.
Stars: ✭ 19 (-70.31%)
Mutual labels:  path
Wsl Windows Toolbar Launcher
Adds linux GUI application menu to a windows toolbar
Stars: ✭ 918 (+1334.38%)
Mutual labels:  wsl
Ansible Wsl
Provisioning your Windows from inside of WSL by Ansible
Stars: ✭ 34 (-46.87%)
Mutual labels:  wsl
Macsvg
macSVG - An open-source macOS app for designing HTML5 SVG (Scalable Vector Graphics) art and animation with a WebKit web view ➤➤➤
Stars: ✭ 789 (+1132.81%)
Mutual labels:  path
Wslreverse
Experiments with hidden COM interface and LxBus IPC mechanism in WSL
Stars: ✭ 47 (-26.56%)
Mutual labels:  wsl
Doslinux
Run Linux programs on DOS
Stars: ✭ 770 (+1103.13%)
Mutual labels:  wsl
Resolve Dir
Resolve a directory that is either local, global or in the user's home directory.
Stars: ✭ 14 (-78.12%)
Mutual labels:  path
Dotfiles
Windows + WSL 2 Ubuntu + Windows Terminal + zsh + p10k + Docker + IntelliJ IDEA
Stars: ✭ 54 (-15.62%)
Mutual labels:  wsl
Pengwin Enterprise
Enterprise-compatible WSL distribution.
Stars: ✭ 52 (-18.75%)
Mutual labels:  wsl
Handle Path Oz
Android Library to handle multiple Uri's(paths) received through Intents.
Stars: ✭ 36 (-43.75%)
Mutual labels:  path

wslpath

wslpath - Converts Unix and Windows format paths in WSL Edit

Installation

Note: PHP is required.

wget 'https://raw.githubusercontent.com/laurent22/wslpath/master/wslpath'
chmod 755 wslpath
sudo mv wslpath /usr/bin

Usage

wslpath [-m|-u|-w|-h] NAME[:line[:col]]

Output type options:

  -w           (default) prints Windows form of NAME (C:\WINNT)
  -m           like -w, but with regular slashes (C:/WINNT)
  -u           prints Unix form of NAME (/mnt/c/winnt)

Other options:

  -h           displays usage information

If no output type is selected, the program will try to detect the form of
NAME and print the opposite type (eg. will print Windows form for Unix
path).

Features

  • Auto-detects path - converts to a Unix path if it is a Windows path and vice-versa.
  • Correctly handles symlinks (Since Windows does not know about the WSL symlinks, they are resolved and the link target is returned).
  • Correctly handles paths under lxss directory (this is the hidden user directory under which WSL-only files and directories are located).
  • 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

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].