in message <[EMAIL PROTECTED]>,
wrote Christer Solskogen thusly...
>
> Is there a easy way of making packages of all installed ports?  (I
> guess it every port will get recompiled, but that doesnt matter to
> me.)

You may or may not need to escape some characters from your shell;
assuming sh ...

  for port in $( find  /var/db/pkg -mindepth 1 -type d )
  do
    echo pkg_create -b $(basename "$port")
  done


  - Parv

-- 

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to