Luca Barbato wrote: > I'm not sure how many special cases/option would be necessary for such > script, like exclude dir, one tar per dir and so on. > The process of creating the tarball is quite specific to the package in question, therefore you cannot make an universal function that does that. See the app-mobilephone/bitpim maketarball() and you'll see.