Quote:
Originally Posted by rkasowan
Hello forums!
Here is a snippet:
Code:
for file in `ls "/test folder"/*.ext`; do echo "$file"; done
|
Not only is there no need for ls, but it's breaking your script.
Use the wildcards directly:
Code:
for file in "/test folder/"*.ext