HP StorageWorks File Migration Agent V2.1 administrator guide (T4274-96105, October 2006)

106 Operating
Commands
Command options
Arguments (pack command)
Arguments (unpack command)
Examples
Packs the file File001.dat into the file File001.dat.p:
Packs all files in directory d:\Dir001 into directory d:\tmp\Dir001.p:
Table 35 FmaFileUtil commands
Command Description
pack | p Create a packed file (new Format) based on an NTFS file
Input is an NTFS file, output is a file in the FMA Storage Format. All NTFS file information is
included.
unpack | u Create an NTFS file based on a packed file.
Input is a packed file, output is an NTFS file. All NTFS streams saved in the packed file are
written into the created NTFS file.
Table 36 FmaFileUtil command-options
Option Description
-f <Filelist> All files listed in Filelist will be converted.
-o Overwrite existing destination files. Default is that no files will be overwritten.
-r Recurse into directories.
-p Preserve timestamps
When unpacking a file the original creation- and modification-timestamp is restored.
If this option is used without the -o option, FmaFileUtil only resets the timestamps of the
destination file (dFile) to the timestamps preserved in the source file (sFile).
Table 37 FmaFileUtil arguments (pack command)
Option Description
<sFile>
<dFile>
Packs the source file (sFile) to destination file (dFile).
<sDir> <dDir> Packs all files in the source directory (sDir) to the destination directory (dDir). The new files
have the same name.
Table 38 FmaFileUtil arguments (unpack command)
Option Description
<sFile>
<dFile>
Unpacks the source file (sFile) to destination file (dFile).
<sDir> <dDir> Unpacks all files in the source directory (sDir) to the destination directory (dDir). The new
files have the same name.
FmaFileUtil pack File001.dat File001.dat.p
FmaFileUtil pack d:\Dir001 d:\tmp\Dir001.p