bash script file access question
Never mind, my mistake was a simple spelling error :)
thanks anyway |
It's acting as though there are no directories that match the pattern *_potHermannSkillman* in the current working directory. I assume that you've already verified that these directories exist and the files you want to process are present. I suggest adding some debug code, like:
pwd ls ls *_potHermannStillman* before the for loop. -John |
Using "#!/bin/bash -x" will probe useful the next time you run into a similar problem, it adds verbosity without having to insert debug echos everywhere in the middle of the script ;)
Also, when dealing with paths and the like, you should really do some basic checks at least in your code. Like these: Code:
#!/bin/bash -x |
All times are GMT -5. The time now is 01:33 PM. |