Q: how to let mkinstallp to keep Packaging_root clean?

AIX newbie question.

Well the scenario is:

I have the clean file tree created at /path/to/Packaging_root/*

and I will run

mkinstallp -d /path/to/Packaging_root -T template_file

mkinstallp will create some files in the Packaging_root directory like,
.info, etc symlink to /etc if I dont have etc, and something else. well and the .bff package which is what I finally want, and I normally move the .bff package to somewhere else but the others will left there. If there is a way to keep the Packaging_root directory clean? Because the file list inside my template_file is generated by a shell script by doing a find in Packaging_root directory. So when the second time I run mkinstallp I got the un-wanted files included in the package.

Thanks expert ...

Edit:

I do not want to make a copy, well, that's the thing I am actually trying to avoid, :slight_smile: