Wednesday, May 7, 2014

trick: make several directories in one shot

Today I learned that you can nicely create several directories this way:

mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}

$ find ~/rpmbuild

This is nice.

It's now almost 20 years I started on Unix/Linux and I could have used this... You learn every day :-)

No comments:

Post a Comment