How To Extract .bff Files In Aix
I need to extract a single file from a ZIP file which I know the path to. Is there a command like the following:
BFF files are Backup Files primarily associated with AIX Backup File Format. BFF files are also associated with WorldToolKit Neutral File Format and FileViewPro. Additional types of files may also be using the BFF file extension. Hi howto extract a file from a bff file? Is it possible? Thanks Israel. The UNIX and Linux Forums. The UNIX and Linux Forums. Today's Posts. Register AIX howto extract a file from a bff file? Login or Register to Reply.
Unfortunately, the above command extracts and recreates the entire path to the file at ./path/to/zipped/file.txt
. Is there a way for me to simply pull the file out into a specified directory?

5 Answers
You can extract just the text to standard output with the -p
option:
This won't extract the metadata (date, permissions, …), only the file contents. That's the price to pay for the convenience of not having to move the file afterwards.
Alternatively, mount the archive as a directory and just copy the file. With AVFS:
Or with fuse-zip:
Enter full path for zipped file, not just the filename. Be sure to keep the structure as seen from within the zip file.
This will extract the single file file.txt
in myarchive.zip
to /path/to/unzip/to/file.txt
.
Simpler version:
This will recreate PATH_OF_FILE_INSIDE_ARCHIVE
in current directory but only extracts specified file.
To list all files in a Zip archive:
AnthonOn macOS, which by default uses Info-Zip
First list off the files to find what you want
Then provide a list of files to extract from the archive
Combine with -p for stdout
Not the answer you're looking for? Browse other questions tagged zip or ask your own question.

WHAT ARE.exeFILES AND HOW ARE THEY GENERATED ?
WHAT ARE.bffFILES ?
HOW CAN I BE SURE THAT THE .bff FILE HAS NOT BEEN MODIFIED ? (may not be up to date !)
HOW TO INSTALL AIX TOOLBOX FOR LINUX PACKAGE (RPM Format : IBM link)
This page describes how to install freeware and shareware utilities for AIX v4 and v5 delivered in '.exe' files. These installation instructions will use the example of the package lsof-4.41.0.0.exe.
- Download the package required.
- Change the file modes so that the package is executable and, as a non-root user, execute the package as shown in the following example:
- $ chmod +x lsof-4.41.0.0.exe
- $ ./lsof-4.41.0.0.exe
- The file lsof-4.41.0.0.bff.asc above is an ASCII file that contains information (including a PGP signature) that can be used to verify the LPP downloaded. It should be read carefully.
- Log in as root and use the following commands to install the bff file
- # rm -f .toc
- # smit install_latest
- When smit asks for the 'INPUT device / directory for software', type in the name of the directory where the file is stored (or just answer with '.' if the file is in the current directory), and then type RETURN.
- When the next set of menus are displayed, use F4 to generate a list of packagesin the directory. Use F7 to select the LPP to install and press RETURN to finish choosing. Keep the default values for all the other choices, and press RETURN twice to start the install.s
To use the utility the directory '/usr/local/bin' should be in your $PATH, which can be changed for all the users in the file /etc/environment. The environmental variable 'MANPATH' should also be created for all the users by adding the following line to /etc/profile:
- export MANPATH=/usr/share/man:/usr/local/man:/uman:
Some LPPs require additional modifications to the machine or to the environment.
Please refer to the README or INSTALL files delivered with the LPPs.
To list all the files installed by the LPP, use the command :
- lslpp -f 'freeware.lsof.*'
For example to find all the README files delivered by all the freeware and shareware LPPs on the machine, use the command :
- lslpp -f 'freeware*' 'shareware*' grep -i readme
The packages on this server have been compressed using 'zip', a powerful freeware compression tool that uses the same compression algorithm as 'gzip', but uses the file format of PK-ZIP (a PC compression tool).
The zip-files generated by the Unix tool 'zip' are compatible with pkzip zip-files.
To decompress (unzip) the .exe files on this server, no additional tools are required. All the files are packaged as self-decompressing zip-files. Simply copy the '.exe' file to your disk, set the file modes to allow execution, and then execute the file to extract the '.bff' file it contains. This can (should?) be done without being 'root'.
These .exe files are generated by concatenating a tool delivered in the 'unzip' package with the zip-file containing the .bff archive, as follows :
$ cat /usr/local/bin/unzipsfx lsof-3.68.0.0.zip > lsof-3.68.0.0.exe
How To Extract Rar Files
WHAT ARE.bff
'bff' stands for 'Backup File Format', which just means that the file was created using the AIX® 'backup' tool and can be read using AIX® tool 'restore'.
Under AIX®, the standard product packaging system uses the BFF format. However additional information about the individual files delivered in the product are included inside the BFF package. This packaging is said to be an LPP. LPP means 'Licensed Product Package', but in the case of freeware the concepts of 'license' and 'product' very different from what IBM planned in the beginning.
The freeware and shareware are on the server http://www.bullfreeware.com and its mirrors
- EuropeNorth America
The newer freeware packages on this server have been signed a Pretty Good Privacy (PGP) key belonging to Ciaran Deignan. Currently this signature has not been signed by any 'trusted third parties', so the first time you download the signature you will have to make a 'leap of faith' the first time you use it.
The PGP signature is contained in the .asc file delivered inside the AIX-autoextractable zipfile. Of course, it is a bad idea to execute anything before you have verified it, so in a perfect world it should be unzipped using unzip under unix or pkunzip on a PC. Florida drivers permit test.
My Public PGP Key should be added you your public keyring as follows:
Once my PGP Key has been added to your keyring, the signature can be verified as follows:
The above message indicates that the signature is good, but the key in not necessarily mine. The rest is a question of faith.
The next best way to verify that nothing has been modified is to check the MD5 checksum. The MD5 checksums for all the BFF files is in the file 00_MD5.txt. These checksums were generated using the 'siggen' tool in the 'tripwire' package.
[ Home Page ]
Last Updated : June 3rd , 2004