Function Description: create or modify a file to be kept, or extract files from the file to be kept.
Syntax: ar [-dmpqrtx] [cfosSuvV] [a <member files>] [B <member files>] [I <member files>] [keep files] [member files]
Note: ar allows you to collect many files and make them a single file. All member files keep their original attributes and permissions.
Parameters:
Command Parameters
-D. Delete the member files in the keep file.
-M: change the order in which member files are stored.
-P: displays the content of the member file in the file.
-Q will append the user to the end of the file to be kept.
-R: insert the file into the storage file.
-T displays the files contained in the kept files.
-X saves the member files in your own files.
Option Parameter
A <member File> Insert the file into the specified member file in the keep file.
B <member File> before inserting a file into a specified member file in the kept file.
C. Create and keep documents.
F. To prevent too long file names from being compatible with ar commands of other systems, you can use this parameter to cut down the names of long member files to be placed in the files.
I <member files> before you insert a specified member file in the kept file.
O preserve the date on which files are kept.
S if the file to be kept contains the object mode, you can use this parameter to create a symbol table for the file to be kept.
S does not generate a symbol table.
U only inserts new files with a specified date into the keep file.
Detailed information is displayed when the v program is executed.
V displays the version information.