Thanks!
Meanwile I did some digging into batch files, it sure is an ugly language, but this seems to do the trick. I post it here if anyone else is looking...
---
@ECHO OFF
echo Running awk on all PT1.trk files
for /f "delims=" %%i in ('dir /ad/s/b') do (
cd %%i
if exist PT1.trk (...
Dear awk experts
I am rather new to awk (I am using awk on a WinXP machine via GnuWin32) and I am trying to do the following:
1. Loop through all subdirectories
2. If there is a file called file.txt then perform some awk commands (that I have and that are working)
In Linux this would be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.