This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set folder="C:\" | |
for /f "delims=" %%A in ( ' dir /b %folder% ^| findstr /R "[ABCDEFGHIJKLMNOPQRSTUVWXYZ]" ' ) do ( | |
echo path: %%~dpnxA | |
echo name: %%~nxA | |
echo. | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setLocal EnableDelayedExpansion | |
for /F "tokens=*" %%I in ('dir /L /B /s') do ( | |
set f=%%I | |
set f=!f:%%~dpI=! | |
ren "%%I" "!f!" | |
echo "%%I" "!f!" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Git shortcuts | |
alias gb='git branch' | |
alias gs='git status' | |
alias gsu='git status -su' | |
alias ga='git add' | |
alias gaa='git add -A' | |
alias gun='git reset HEAD' | |
alias gc='git commit' | |
alias gcm='git commit -m' | |
alias gco='git checkout' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = [name] | |
email = [email] | |
[core] | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore_global | |
# windows; if on a windows machine, uncomment line below | |
#autocrfl = true | |
NewerOlder