Sunday, June 20, 2010

find tips - about the last char

Packaging Moose binary need some CPAN source. I am using cpan2rpm. On my build box, I just use cpan to install Moose, then I knew that all the dependcies are ready. :)

Next I need to convert Moose to binary RPM, for all the source, I want to just get from ~/.cpan, but I always can not remember the -exec syntax for find. Here:

# find ~/.cpan/sources/authors/id -regex '.*\.tar\.gz$' -exec cp {} . \;

No comments:

Post a Comment