A few 'aliases' for Microsoft Windows' cmd
prompt for fuzzy finding, grepping, ..., implemented as batch files.
s.bat
to grep for a regular expression (using ripgrep or ugrep for searching and less for paging the results, whenever available)
fe.bat
to fuzzy find a file to be edited in%EDITOR%
,vim
ornotepad
(using fd,ripgrep
orugrep
as file finder and fzf or peco as fuzzy selector, whenever available)fo.bat
to fuzzy find a file to be opened (with its standard application)ff.bat
to fuzzy find a folder to be switched to
-
e.bat
to edit in%EDITOR%
,vim
ornotepad
-
o.bat
to open a file with its standard application -
oo.bat
to spawn a file manager showing the current directory (using totalcommander, whenever available) -
pw.bat
to spawnpowershell
in the current directory
-
rs.bat
to sync two directories with rsync -
ln.bat
to create a hard link (or junction) similar toln
under Unix (possible with user permissions) -
ln-s.bat
to create a symbolic link similar toln -s
under Unix (needs extra permissions as documented in the initial comments) -
l.bat
to list files or folders -
ll.bat
to list files or folders with some details -
cp.bat
to copy a file or folder -
mcd.bat
to create a directory and switch to it -
mv.bat
to move a file or folder -
r.bat
as alias for the file manager lf, similar toranger
-
rn.bat
as alias for mmv to rename files in your%EDITOR%
-
rm.bat
to delete a file or folder -
trash.bat
orrmm.bat
to send a file or folder to the recycle bin
g.bat
as alias forgit
lzg.bat
as alias for lazygittig.bat
to starttig
from Git for Windows