in reply to Re: Run a script on every file in a directory
in thread Run a script on every file in a directory
Not quite right. Both bash versions will leave out the "hidden" files with names starting with a ., and they will process every other directory entry, not just ordinary files, but also special files like symlinks, directories, device nodes, pipes. The cmd for loop also skips files with the hidden bit set.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Run a script on every file in a directory
by ikegami (Patriarch) on Jun 08, 2010 at 21:15 UTC |