It's easy to unsafely handle filenames. I've seen it at my job where we do a lot of bash scripting. However, there are good guides on doing it the right way. [0]
[0] https://mywiki.wooledge.org/BashPitfalls#for_f_in_.24.28ls_....
[0] https://mywiki.wooledge.org/BashPitfalls#for_f_in_.24.28ls_....
No comments yet.