by Just Another Engineer (Source)
Given a file with content as below per line which can be created based on sudo -u www-data moosh course-list | awk -F "," '{ print $1 "," $3}'
:
"1234","XX - XXXX/XXX/XX"
Windows does not natively include a touch command. | |
You can use any of the available public versions or you can use your own version. | |
Save this code as touch.cmd and place it somewhere in your path. | |
@echo off | |
setlocal enableextensions disabledelayedexpansion | |
(for %%a in (%*) do if exist "%%~a" ( | |
pushd "%%~dpa" && ( copy /b "%%~nxa"+,, & popd ) |
by Just Another Engineer (Source)
Given a file with content as below per line which can be created based on sudo -u www-data moosh course-list | awk -F "," '{ print $1 "," $3}'
:
"1234","XX - XXXX/XXX/XX"