Tip: using find + xargs with alien

Tip: using find + xargs with alien

If you want to convert a RPM package to DEB package, you can use alien package from apt-get or aptitude managers.

However, if you tons of RPM packages to convert, you’ll must convert file-per-file because alien doesn’t support regular expressions to specify the source of them, so, you can combine find + xargs command to reduce your work:




Blog Linux
  • ou algo tipo:

    for f in $(ls *.rpm); do alien $f –to-deb; done;

    • carlosspohr