Today I learned that you can nicely create several directories this way:
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
$ find ~/rpmbuild
/home/pweltz/rpmbuild
/home/pweltz/rpmbuild/RPMS
/home/pweltz/rpmbuild/SRPMS
/home/pweltz/rpmbuild/BUILD
/home/pweltz/rpmbuild/SOURCES
/home/pweltz/rpmbuild/SPECS
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