in reply to Re^2: mkdir in loop - overwrite danger?
in thread mkdir in loop - overwrite danger?
I did consider that, but got lazy; replacing ls with glob meant also having to split off the basename of the file from the path. I liked the simplicity.
Update: having looked at this again, I see glob returning file names only if that path is not included. That makes for a more portable solution.
|
|---|