For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > Looping Over Files With Spaces In Their Names

Looping Over Files With Spaces In Their Names

Created by dave. Last edited by dave, 2 years and 259 days ago. Viewed 643 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
(2021-03-19)

Looping Over Files With Spaces In Their Names

$ IFS=$'\n' ; for i in * ; do bash ./$i ; done

(>>Source and other solutions)

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt