Sourcing a Directory

Dennis Kaarsemaker dennis at kaarsemaker.net
Mon Jun 13 07:17:49 UTC 2005


On zo, 2005-06-12 at 22:28 -0400, Matthew S-H wrote:

> How do I "source" a directory?

for file in ~/.bash_profile_pieces/*; do source $file; done

-- 
Dennis K.
  - Linux for human beings: http://www.ubuntulinux.org
  - Linux voor normale mensen: http://www.ubuntulinux.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050613/c930d907/attachment.sig>


More information about the ubuntu-users mailing list