Skip to content

Instantly share code, notes, and snippets.

View kimgnu's full-sized avatar

Kim, Gun Woo kimgnu

  • Seoul, South Korea
View GitHub Profile
# Toggle mouse on
bind-key M \
set-option -g mouse on \;\
display-message 'Mouse: ON'
# Toggle mouse off
bind-key m \
set-option -g mouse off \;\
display-message 'Mouse: OFF'
@echo off
setlocal
set OutputPrefix=AllData
set OutputFile="%OutputPrefix%.csv"
type nul > %OutputFile%
forfiles /s /c "cmd /c if @ext==\"csv\" if @file NEQ \"%OutputFile%\" for /f \"delims=\" %%L in ('type @file') do @echo %%L,@file,@fdate,@ftime >>\"%OutputFile%\""
endlocal