The Graham Utilities for OS/2 - Version 2


[Warpspeed]

[Table of Contents] [Index] [Previous] [Next]


EABackup - Backup Extended Attributes

Summary

EABackup backs up all of the Extended Attributes of matching file into one archive file.

Icon

Command Line Format

Usage: EABackup {Switches} <Archive File> File Spec
                          Drive Spec(s)

Switches

-a
All disks.
-d
Delete EA's after archive.
-h
Hard disks only.
-s
Include subdirectories in the search.

Note : If no drive specifications are entered the current drive is the only one searched.

Description

EABackup is a utility which backs up the Extended Attributes of files which match a given file specification into a Extended Attribute Archive file. EABackup can optionally delete the Extended Attributes which are attached to the files after they have been archived.

EABackup is a super set of the standard OS/2 program EAUTIL. EAUTIL's biggest limitation is that it can not deal with wild cards. EABackup overcomes this problem.

EABackup's biggest use is to save the Extended Attributes of files when they are going to be operated upon by any non Extended Attribute aware program. This includes all DOS programs and even some OS/2 programs. This is mostly used on FAT partitions which are going to be defragmented using a DOS program. EABackup will also save the extended attributes of files on HPFS partitions.

EARestor is used to restore the Extended Attributes of the files in the archive.

-a All disks

EABackup will scan all logical disk drives defined by the system, starting at drive A:. The drives are scanned in order, starting at A:, then B: and so on.

-d Delete Extended Attributes after archive

EABackup will delete the Extended Attributes of each file after they has successfully archived.

-h Hard disks only

EABackup will scan all logical disk drives defined by the system, starting at drive C:. The drives are scanned in order, starting at C:, then D: and so on.

-s Subdirectories

EABackup will include subdirectories as part of its search of the specified disk drives. If a subdirectory name is included as part of the file specification, then the search will include that subdirectory and all subdirectories below it. If no subdirectory is given as part of the file specification, then the current directory and all below it are included in the search.

Examples

EABackup ALLFILES.DAT -h
EABackup will archive all Extended Attributes of all files on all drives into the file ALLFILES.DAT.
EABackup Drive-C.EA C:\ /sd
EABackup will save the Extended Attributes of all files on drive C:, deleting them as they are archived into the file DRIVE-C.EA.