The Graham Utilities for OS/2 - Version 2


[Warpspeed]

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


FAT-UD - Undelete files on FAT drives

Summary

FAT-UD allows you to undelete files located on FAT drives.

Icon

Command Line Format

Usage: FAT-UD {Switches} <Drive Spec(s)>

Switches

-l
Lock the drive.
-p
Prompt for restore path.
-s
Subdirectories are created.
-on
Run on Machine Name.

Description

FAT-UD scans the disk for deleted directory entries, validates them and then builds up a list to enable you to select the files you wish to recover.

When FAT-UD starts up you will see the following dialog box:

When FAT-UD has finished scanning the disk you will either see a dialog box informing you that there were no deleted files found, or a window similar to:

FAT-UD allows you to select multiple files for recovery in one operation. The Enter key undeletes the currently selected file and Control-Enter allows you to undelete all tagged files. An individual file is tagged using the space bar.

When a file is deleted under the FAT file system, the space is freed for used and the first character of the file name is changed. The changed character is replaced by a '?'. You will have to edit this to recover the file, as '?' is not a valid character.

The two numbers to the left of the screen represent the number of clusters available for recovery and the calculated number of clusters which the file should contain. This will give you an idea as the to likelyhood of a successful recovery.

If you have turned prompting on, or the file to restore already exists, or the filename contains invalid characters, you will be prompted to edit it with a dialog box similar to the following:

As the files are being recovered you will be informed as to which file is currently being recovered.

-l Lock the drive

This switch attempts to lock the drive so that other processes can not access the drive whilst FAT-UD is accessing the drive. This is to ensure that no other processes inadvertently overwrite the files which you are trying to recover.

-p Prompt for restore path

By default, the files of the given path are automatically written to the disk. This switch turns on prompting. You will be prompted to edit the complete path and filename of the files as they are being restored.

-s Subdirectories are created

By default, all path information is removed from the filename. This switch turns on subdirectory processing. It leaves the subdirectories intact.

-on Run on Machine Name

This switch forces DEPIPE to be loaded and allows FAT-UD to access disk drives located on remote machines. The Machine Name must be specified with a leading "\\". The machine name of the remote machine will have been specified when the network software on the remote machine was installed.

Note : DESVR must be running on the remote machine for this option to work.

Consult Appendix H - DESVR for further details.

Whilst FAT-UD is running, the function keys listed below have the following functions associated with them.

F1 - Help

The help for FAT-UD is accessed by pressing the F1 key. If the F1 key is pressed you will see the following dialog box:

F2 - Sort the file order

By default, FAT-UD displays the files in the order in which they are found. The F2 key instructs FAT-UD to sort the file list in alphabetical order. As the sort progresses you will see this:

The number which is displayed is the number of entries which have been sorted so far.

F3 - Select restore disk

A: is the default drive to which the deleted files are to be restored. If you wish to change the drive, press the F3 key and you will be presented with the select restore drive dialog box:

Use the arrow keys or simply press the required drive letter. If you choose the same drive as that from which you are restoring, you will be warned with the following dialog box:

This is because you are likely to overwrite the file that you are trying to recover!

F4 - Tag all files

The F4 key tags all files which have been found.

F5 - Toggle all files

The F5 key toggles the tagged state of all files.

F6 - Toggle prompt

The F6 key toggles the current state of prompting. When prompting is on you will be asked to edit the path and filename of all restored files.

F7 - Toggle subdirectories

The F7 key toggles the current subdirectory state. When subdirectories are on, the path information from the files is not removed. With subdirectories off, all path information is removed and all files are restored into the root directory of the restore drive. All subdirectories are automatically created for you.

F8 - Search and tag files

The F8 key allows you to perform an automatic search and tag function on all of the files which have been found.

You may enter a sub string which is compared to all of the file names. If there is a match the file is tagged. This is useful if you wish to recover all files from a particular directory.

F9 - Search and replace files

The F9 key allows you to change the file name and path of the files which have been found. This enables easy editing of multiple files all at once. It is particularly useful if you have multiple files all from the same deleted directory. You can pre-edit the directory path name. Thus saving you some work later on at file recovery time.

Enter the characters which you wish to search for and the characters to replace with and press Enter.

F10 - Enter initial restore path

The F10 key allows you to specify an initial restore path off the root directory. This option allows you to graft the restored files to a new path. By default, the files are restored to the paths as they appear. This may cause restored files to be mixed up with normal files. There are circumstances where you may wish to separate the restored files for further examination.

For example, a file "\MAX\FILE\WARPSPEED\GU-DEMO.LZH" would normally be restored to "\MAX\FILE\WARPSPEED\GU-DEMO.LZH". If you were to specify a new restore path of "RECOVERED", then using the above example, the restored file would be "\RECOVERED\MAX\FILE\WARPSPEED\GU-DEMO.LZH".

Esc - Exit

The escape key exits FAT-UD.

Examples

FAT-UD
FAT-UD will scan for deleted files on the current drive.
FAT-UD /s
FAT-UD will scan for deleted files on the current drive and subdirectory processing will initially be turned on.
FAT-UD H: -d
FAT-UD will scan drive H: for valid files. This option will work on both valid and damaged volumes.
FAT-UD D: -l
FAT-UD will attempt to lock drive D: and search for deleted files. Using this option you will not be able to restore files to the same drive. If FAT-UD can not lock the drive it will not continue.
FAT-UD F: -on \\BBS /s
This scans for deleted files on drive F: on the remote machine named BBS. Subdirectory processing will initially be turned on.