Bit of help needed. I want to script some multi-command actions, but I need to be able to hand it a file glob i.e. dir1*/*.pdf What the script is essentially doing is changing permissions, changing owner, then want to run an installed binary. All the commands (chmod, chown, <othercommand>) all work perfectly on CLI issuing the wildcard, but when running in the script it only really grabs the FIRST result. I've looked into it and I've read that scripts dont really understand globs, and you need to go through looping it manually to find your files and apply, this is OK for the chmod and chown, but the 3rd binary is kind of a batch processor where it wants everything passed through not spawning a new instance for each file. Is there a way to get around this glob processing? Using bash but happy to change language / runtime to something that will work.