Misc. command line tools
Misc command line tools
Last updated
Misc command line tools
Last updated
Without whitespace: base64 --wrap=0
Convert ASCII to UTF8: iconv --from-code=ascii --to-code=utf-8
Copy WSL text into the Windows clipboard: echo "Hello äöü" | iconv -f utf-8 -t utf-16le | clip.exe
This converts it to UTF16 little endian and pipes it to the Windows clipboard :-)
Start a web browser on Windows from WSL: cmd.exe /C "start $( echo "https://github.com/" )"
chmod +x
in gitUse to extract EXIF metadata, and rename image files.
For example, this renames all images based on the date-taken EXIF metadata
-n[format-string]
%Y-%m-%d
Year (4 digit 1980-2036) / month number / day of month
%H-%M-%S
hour (24h) / minute / second
%f
original file name