Using absolute pathnames: If you create an archive with absolute pathnames the files will be extracted with exactly these pathnames! SAPCAR does not cut the first slash like the UNIX tool tar.
Notice that extracting out of old archives only works with the command options known to the old CAR application.
If it still cannot handle the archive it will stop execution. Merge two archives: SAPCAR -mvf “source-archive.sar target-archive.sar”Īppend files to an archive: SAPCAR -avf archive.sar file1 file2 file3Įxtracting/verifying files: If you try to extract files from an archive that is not a valid SAPCAR archive according to the version 2 specification SAPCAR assumes an archive of the old format and automatically invokes the appropriate extraction routine. The former matches any character string, while the latter matches any single character.Ĭreate archive with a complete directory and directory rights: SAPCAR -cvf MY.SAR dirĬreate archive with all files of a directory without the directory itself: SAPCAR -cvf MY.SAR dir/* if during extraction with SAPCAR -xvf MY.SAR the directory dir does not exist it will be created with rights 755Ĭreate archive with only the files of a directory SAPCAR -cvf MY.SAR -C dir. Ĭreate archive with all files and directories in the current directory without point files: SAPCAR -cvf MY.SAR * Note that SAPCAR treats “*” and “?” as wildcard characters. Other options: -a : append files to an archive -A FILE : get names to include from file FILE -backup : run in backup mode: include ACL data (supported by UNICODE SAPCar on Windows platforms only) -C DIR : change to directory DIR -e : redirect output from stdout to file sapcar_output -f FILE : use archive file FILE (default DEFAULT.SAR) -flat : don’t preserve file path when extracting files -g : ignore case of of archive names while extracting, testing or listing archives -h : do not change permissions of existing directories during extraction -i : ignore inaccessible files while creating an archive -l : check availabilty of files to be processed -lower : convert filenames to lowercase while extracting -m : merge two archives -n : print statistical information -p octalvalue : set permissions of all files in archive to value -P : use absolute path-names (use carefully) -r : do not resolve symbolic links/shortcuts while creating an archive -R dir : use dir instead of current directory -s : do free space check -T FILE : rename files to be included in FILE -v : verbosely list files processed -V : compute or verify checksum (obsolete, always set, for backward compatibility) -X FILE : get names to exclude from FILEĮxamples: create archive with all files and directories in the current directory including point files: SAPCAR -cvf MY.SAR. Merge two archives: SAPCAR -mf “source target”Ĭheck availability of files to be processed: SAPCAR -l Verify the archive: SAPCAR -d Īppend files to an archive: SAPCAR -a file1 List the contents of an archive: SAPCAR -t Įxtract files from an archive: SAPCAR -x
Tried the new MSN Messenger? Its cool! Download now.Ĭreate a new archive: SAPCAR -c file1 file2 ... Do I need to be disconnected from my home network when > am brand new and want to learn but need help with the > SAPCAR.EXE file, place the SAPCAR.EXE in the System32 directory, > 100, EXTRACTDB InternalInstallationDO:0 Phase failed, EXTRACTDB
> because of an EXTRACTDB ExecuteCheck:0 Exit Code from SAPCAR.exe
I have not been able to get past the 41% install mark >I have a copy of the MiniSAP installation CD along with data (CD1 I want to know in detail about sapcar options.