-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2013-09-24 at 00:01 +0200, Andreas wrote:
how can a bash script look up the contents of a directory and call another script for all files within this directory?
Find pipe xargs, for instance. Or find /path/ -type f -exec command '{}' \;
It would be great to have those files sorted by name or create-date first before the names get thrown at the second script.
Playing with find and sort, perhaps. - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJA2LAACgkQtTMYHG2NR9VE+ACeKgsqCSSsOCvj5g45/lXvugwr zDwAn3jcEvVpX03jC+1dTUr46tvFX36d =zWq7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org