2 ms·
I love powershell because I have a basic working knowledge of Linux commands. In bash this means I have to google a bit for even slightly complex things like 'c
by Tarean 6y ago
I love powershell because I have a basic working knowledge of Linux commands. In bash this means I have to google a bit for even slightly complex things like 'change the extension of all .swp files under this directory'.
In powershell the short syntax tends to be noisy but I usually can start with the linux commands and muddle through with tab completion:
ls -r *.swp | % { mv $_ ($_.FullName -replace ".swp$", ".swap") }